[API] Rename hb_buffer_add_glyph() to hb_buffer_add()
diff --git a/src/hb-buffer.cc b/src/hb-buffer.cc index 68ef594..2f7a173 100644 --- a/src/hb-buffer.cc +++ b/src/hb-buffer.cc
@@ -267,10 +267,10 @@ } 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_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
diff --git a/src/hb-buffer.h b/src/hb-buffer.h index c22e31d..d12faf8 100644 --- a/src/hb-buffer.h +++ b/src/hb-buffer.h
@@ -126,10 +126,10 @@ /* 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,
diff --git a/test/test-buffer.c b/test/test-buffer.c index 9522515..464ec89 100644 --- a/test/test-buffer.c +++ b/test/test-buffer.c
@@ -68,7 +68,7 @@ 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: