[API] Rename hb_buffer_add_glyph() to hb_buffer_add()

pull/1/head
Behdad Esfahbod 14 years ago
parent aab0de50e2
commit f85faee9b3
  1. 4
      src/hb-buffer.cc
  2. 2
      src/hb-buffer.h
  3. 2
      test/test-buffer.c

@ -267,7 +267,7 @@ hb_buffer_allocation_successful (hb_buffer_t *buffer)
}
void
hb_buffer_add_glyph (hb_buffer_t *buffer,
hb_buffer_add (hb_buffer_t *buffer,
hb_codepoint_t codepoint,
hb_mask_t mask,
unsigned int cluster)
@ -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

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

@ -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:

Loading…
Cancel
Save