diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2011-04-27 09:24:37 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2011-04-27 09:38:19 -0400 |
commit | d4bee9f813bb299b1c4aab7c33d588be2a7d354b (patch) | |
tree | 16a5d6502d148b95478a3aa97d870514f4d21443 /src/hb-unicode.cc | |
parent | 153142dac8dd9abaf164bb88af07c600c17fc3a1 (diff) |
[API] Add hb_unicode_funcs_get_default()
Diffstat (limited to 'src/hb-unicode.cc')
-rw-r--r-- | src/hb-unicode.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/hb-unicode.cc b/src/hb-unicode.cc index ed0dc108..b756461b 100644 --- a/src/hb-unicode.cc +++ b/src/hb-unicode.cc @@ -80,6 +80,7 @@ hb_unicode_get_script_nil (hb_unicode_funcs_t *ufuncs HB_UNUSED, } +extern HB_INTERNAL hb_unicode_funcs_t _hb_unicode_funcs_nil; hb_unicode_funcs_t _hb_unicode_funcs_nil = { HB_OBJECT_HEADER_STATIC, @@ -96,6 +97,12 @@ hb_unicode_funcs_t _hb_unicode_funcs_nil = { hb_unicode_funcs_t * +hb_unicode_funcs_get_default (void) +{ + return &_hb_unicode_funcs_default; +} + +hb_unicode_funcs_t * hb_unicode_funcs_create (hb_unicode_funcs_t *parent) { hb_unicode_funcs_t *ufuncs; |