* Red Hat Author(s): Behdad Esfahbod
*/
-#include "hb-mutex-private.hh"
#include "hb-open-file-private.hh"
#include "hb-ot-layout-gdef-table.hh"
#include "hb-ot-layout-gsubgpos-private.hh"
using namespace OT;
+#ifndef HB_NO_VISIBILITY
+const void * const OT::_hb_NullPool[HB_NULL_POOL_SIZE / sizeof (void *)] = {};
+#endif
int
main (int argc, char **argv)
exit (1);
}
- const char *font_data = NULL;
+ const char *font_data = nullptr;
int len = 0;
#ifdef HAVE_GLIB
- GMappedFile *mf = g_mapped_file_new (argv[1], false, NULL);
+ GMappedFile *mf = g_mapped_file_new (argv[1], false, nullptr);
font_data = g_mapped_file_get_contents (mf);
len = g_mapped_file_get_length (mf);
#else
switch (table.tag) {
- case GSUBGPOS::GSUBTag:
- case GSUBGPOS::GPOSTag:
+ case HB_OT_TAG_GSUB:
+ case HB_OT_TAG_GPOS:
{
const GSUBGPOS &g = *CastP<GSUBGPOS> (font_data + table.offset);