From: Behdad Esfahbod Date: Fri, 8 Oct 2010 22:47:47 +0000 (-0400) Subject: Add private hb_segment_properties_t X-Git-Tag: submit/2.0alpha-wayland/20121130.004132~9^2~521 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7c5046d6b676a32298b97403a49235f7f255161;p=profile%2Fivi%2Forg.tizen.video-player.git Add private hb_segment_properties_t --- diff --git a/src/hb-buffer-private.hh b/src/hb-buffer-private.hh index ce7a3b5..d9f3d4d 100644 --- a/src/hb-buffer-private.hh +++ b/src/hb-buffer-private.hh @@ -62,6 +62,12 @@ ASSERT_STATIC (sizeof (hb_glyph_info_t) == sizeof (hb_internal_glyph_info_t)); ASSERT_STATIC (sizeof (hb_glyph_position_t) == sizeof (hb_internal_glyph_position_t)); ASSERT_STATIC (sizeof (hb_glyph_info_t) == sizeof (hb_glyph_position_t)); +typedef struct _hb_segment_properties_t { + hb_direction_t direction; + hb_script_t script; + hb_language_t language; +} hb_segment_properties_t; + HB_INTERNAL void _hb_buffer_swap (hb_buffer_t *buffer); @@ -110,13 +116,9 @@ struct _hb_buffer_t { hb_reference_count_t ref_count; /* Information about how the text in the buffer should be treated */ - hb_unicode_funcs_t *unicode; - struct properties_t { - hb_direction_t direction; - hb_script_t script; - hb_language_t language; - } props; + hb_unicode_funcs_t *unicode; /* Unicode functions */ + hb_segment_properties_t props; /* Script, language, direction */ /* Buffer contents */