[API] Rename hb_buffer_add_glyph() to hb_buffer_add()

This commit is contained in:
Behdad Esfahbod 2011-04-19 00:38:01 -04:00
parent aab0de50e2
commit f85faee9b3
3 changed files with 10 additions and 10 deletions

View File

@ -267,7 +267,7 @@ hb_buffer_allocation_successful (hb_buffer_t *buffer)
} }
void void
hb_buffer_add_glyph (hb_buffer_t *buffer, hb_buffer_add (hb_buffer_t *buffer,
hb_codepoint_t codepoint, hb_codepoint_t codepoint,
hb_mask_t mask, hb_mask_t mask,
unsigned int cluster) unsigned int cluster)
@ -572,7 +572,7 @@ hb_buffer_reverse_clusters (hb_buffer_t *buffer)
hb_codepoint_t u; \ hb_codepoint_t u; \
const T *old_next = next; \ const T *old_next = next; \
next = UTF_NEXT (next, end, u); \ next = UTF_NEXT (next, end, u); \
hb_buffer_add_glyph (buffer, u, 1, old_next - (const T *) text); \ hb_buffer_add (buffer, u, 1, old_next - (const T *) text); \
} \ } \
} HB_STMT_END } HB_STMT_END

View File

@ -126,7 +126,7 @@ hb_buffer_reverse_clusters (hb_buffer_t *buffer);
/* Filling the buffer in */ /* Filling the buffer in */
void void
hb_buffer_add_glyph (hb_buffer_t *buffer, hb_buffer_add (hb_buffer_t *buffer,
hb_codepoint_t codepoint, hb_codepoint_t codepoint,
hb_mask_t mask, hb_mask_t mask,
unsigned int cluster); unsigned int cluster);

View File

@ -68,7 +68,7 @@ fixture_init (Fixture *fixture, gconstpointer user_data)
case BUFFER_ONE_BY_ONE: case BUFFER_ONE_BY_ONE:
for (i = 1; i < G_N_ELEMENTS (utf32) - 1; i++) for (i = 1; i < G_N_ELEMENTS (utf32) - 1; i++)
hb_buffer_add_glyph (fixture->b, utf32[i], 1, i); hb_buffer_add (fixture->b, utf32[i], 1, i);
break; break;
case BUFFER_UTF32: case BUFFER_UTF32: