[pango/harfbuzz-ng: 24/57] [HB] Rename _duplicate to _copy



commit 43514625e82ace469b2d2612bc8f890d192e7b78
Author: Behdad Esfahbod <behdad behdad org>
Date:   Sat Aug 1 23:06:27 2009 -0400

    [HB] Rename _duplicate to _copy
    
    To be in line with cairo

 pango/opentype/hb-font.c |    4 ++--
 pango/opentype/hb-font.h |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pango/opentype/hb-font.c b/pango/opentype/hb-font.c
index 078a3bc..2397d77 100644
--- a/pango/opentype/hb-font.c
+++ b/pango/opentype/hb-font.c
@@ -77,7 +77,7 @@ hb_font_callbacks_destroy (hb_font_callbacks_t *fcallbacks)
 }
 
 hb_font_callbacks_t *
-hb_font_callbacks_duplicate (hb_font_callbacks_t *other_fcallbacks)
+hb_font_callbacks_copy (hb_font_callbacks_t *other_fcallbacks)
 {
   hb_font_callbacks_t *fcallbacks;
 
@@ -141,7 +141,7 @@ hb_unicode_callbacks_destroy (hb_unicode_callbacks_t *ucallbacks)
 }
 
 hb_unicode_callbacks_t *
-hb_unicode_callbacks_duplicate (hb_unicode_callbacks_t *other_ucallbacks)
+hb_unicode_callbacks_copy (hb_unicode_callbacks_t *other_ucallbacks)
 {
   hb_unicode_callbacks_t *ucallbacks;
 
diff --git a/pango/opentype/hb-font.h b/pango/opentype/hb-font.h
index e563fa7..deab22e 100644
--- a/pango/opentype/hb-font.h
+++ b/pango/opentype/hb-font.h
@@ -58,7 +58,7 @@ void
 hb_font_callbacks_destroy (hb_font_callbacks_t *fcallbacks);
 
 hb_font_callbacks_t *
-hb_font_callbacks_duplicate (hb_font_callbacks_t *fcallbacks);
+hb_font_callbacks_copy (hb_font_callbacks_t *fcallbacks);
 
 /*
 
@@ -98,7 +98,7 @@ void
 hb_unicode_callbacks_destroy (hb_unicode_callbacks_t *ucallbacks);
 
 hb_unicode_callbacks_t *
-hb_unicode_callbacks_duplicate (hb_unicode_callbacks_t *ucallbacks);
+hb_unicode_callbacks_copy (hb_unicode_callbacks_t *ucallbacks);
 
 /*
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]