Lines Matching full:destroy
264 #define HB_FONT_FUNC_IMPLEMENT(name) if (ffuncs->destroy.name) \
265 ffuncs->destroy.name (ffuncs->user_data.name);
276 hb_destroy_func_t destroy,
279 return hb_object_set_user_data (ffuncs, key, data, destroy, replace);
312 hb_destroy_func_t destroy) \
315 if (destroy) \
316 destroy (user_data); \
320 if (ffuncs->destroy.name) \
321 ffuncs->destroy.name (ffuncs->user_data.name); \
326 ffuncs->destroy.name = destroy; \
330 ffuncs->destroy.name = NULL; \
520 NULL, /* destroy */
539 hb_destroy_func_t destroy)
544 if (destroy)
545 destroy (user_data);
551 face->destroy = destroy;
658 if (face->destroy)
659 face->destroy (face->user_data);
668 hb_destroy_func_t destroy,
671 return hb_object_set_user_data (face, key, data, destroy, replace);
841 NULL, /* destroy */
868 if (font->destroy)
869 font->destroy (font->user_data);
882 hb_destroy_func_t destroy,
885 return hb_object_set_user_data (font, key, data, destroy, replace);
927 hb_destroy_func_t destroy)
930 if (destroy)
931 destroy (user_data);
935 if (font->destroy)
936 font->destroy (font->user_data);
945 font->destroy = destroy;
951 hb_destroy_func_t destroy)
953 /* Destroy user_data? */
955 if (destroy)
956 destroy (user_data);
960 if (font->destroy)
961 font->destroy (font->user_data);
964 font->destroy = destroy;