[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,10 +267,10 @@ hb_buffer_allocation_successful (hb_buffer_t *buffer)
}
void
hb_buffer_add_glyph (hb_buffer_t *buffer,
hb_codepoint_t codepoint,
hb_mask_t mask,
unsigned int cluster)
hb_buffer_add (hb_buffer_t *buffer,
hb_codepoint_t codepoint,
hb_mask_t mask,
unsigned int cluster)
{
hb_glyph_info_t *glyph;
@ -572,7 +572,7 @@ hb_buffer_reverse_clusters (hb_buffer_t *buffer)
hb_codepoint_t u; \
const T *old_next = next; \
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

View File

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

View File

@ -68,7 +68,7 @@ fixture_init (Fixture *fixture, gconstpointer user_data)
case BUFFER_ONE_BY_ONE:
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;
case BUFFER_UTF32: