[API] unicode: rework virtual functions for subclassing
authorRyan Lortie <desrt@desrt.ca>
Wed, 20 Apr 2011 04:19:20 +0000 (00:19 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 20 Apr 2011 04:19:20 +0000 (00:19 -0400)
commit2fd0c577e322ccbf762927bc4600b3ea31db4c80
tree556d2bccbffef6f6df89d68ee0e31f70e32b6f32
parentf85faee9b3cb841ea977403945e2c877ab32b97a
[API] unicode: rework virtual functions for subclassing

Unicode data providers can now be subclassed, including support for
chain-up.  The interface should now be nicely bindable, as well.

Also fix glib unicode funcs that where broken after hb_script_t
changes.  Nicely caught by the test-unicode.c added in this commit.
src/hb-glib.c
src/hb-icu.c
src/hb-ot-shape.cc
src/hb-shape.cc
src/hb-unicode-private.h
src/hb-unicode.c
src/hb-unicode.h
test/Makefile.am
test/test-unicode.c [new file with mode: 0644]