From c7ffe2ad5f6e97e26d14e2cc0d4098af8f5f36d0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 28 Apr 2011 16:03:29 -0400 Subject: [PATCH] [API Remove hb_font_funcs_copy() Will be adding font_funcs subclassing instead. --- src/hb-font.cc | 13 ------------- src/hb-font.h | 3 --- 2 files changed, 16 deletions(-) diff --git a/src/hb-font.cc b/src/hb-font.cc index b067901..5e4d379 100644 --- a/src/hb-font.cc +++ b/src/hb-font.cc @@ -141,19 +141,6 @@ hb_font_funcs_get_user_data (hb_font_funcs_t *ffuncs, } -hb_font_funcs_t * -hb_font_funcs_copy (hb_font_funcs_t *other_ffuncs) -{ - hb_font_funcs_t *ffuncs; - - if (!(ffuncs = hb_object_create ())) - return &_hb_font_funcs_nil; - - ffuncs->v = other_ffuncs->v; - - return ffuncs; -} - void hb_font_funcs_make_immutable (hb_font_funcs_t *ffuncs) { diff --git a/src/hb-font.h b/src/hb-font.h index 9c69470..c26ab01 100644 --- a/src/hb-font.h +++ b/src/hb-font.h @@ -105,9 +105,6 @@ hb_font_funcs_get_user_data (hb_font_funcs_t *ffuncs, hb_user_data_key_t *key); -hb_font_funcs_t * -hb_font_funcs_copy (hb_font_funcs_t *ffuncs); - void hb_font_funcs_make_immutable (hb_font_funcs_t *ffuncs); -- 2.7.4