From: Behdad Esfahbod Date: Mon, 13 Aug 2018 00:19:55 +0000 (-0700) Subject: [lazy] Rename free() X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7bd508a0c4ce426f474bfcc729cb39207dd1f7b4;p=platform%2Fupstream%2FlibHarfBuzzSharp.git [lazy] Rename free() --- diff --git a/src/hb-ft.cc b/src/hb-ft.cc index e716ec9..01341b6 100644 --- a/src/hb-ft.cc +++ b/src/hb-ft.cc @@ -454,7 +454,7 @@ static struct hb_ft_font_funcs_lazy_loader_t : hb_font_funcs_lazy_loader_t { do_destroy (instance.get ()); } - inline void free (void) + inline void free_instance (void) { retry: Stored *p = instance.get (); @@ -720,7 +720,7 @@ struct hb_lazy_loader_t : hb_data_wrapper_t static inline void destroy (Stored *p) { p->fini (); - ::free (p); + free (p); } private: diff --git a/src/hb-ot-font.cc b/src/hb-ot-font.cc index 0b14ff1..9da8fc7 100644 --- a/src/hb-ot-font.cc +++ b/src/hb-ot-font.cc @@ -264,7 +264,7 @@ static struct hb_ot_font_funcs_lazy_loader_t : hb_font_funcs_lazy_loader_t + hb_shaper_list_lazy_loader_t> { static inline const char ** create (void) { @@ -72,7 +72,7 @@ static struct hb_shaper_list_lazy_loader_t : hb_lazy_loader_t