Hide internal symbols

This commit is contained in:
Behdad Esfahbod 2010-05-12 23:22:55 -04:00
parent 8951fc2c82
commit eee8598d75
2 changed files with 6 additions and 6 deletions

View File

@ -80,10 +80,10 @@ struct _hb_ot_layout_context_t
};
void
HB_INTERNAL void
_hb_ot_layout_init (hb_face_t *face);
void
HB_INTERNAL void
_hb_ot_layout_fini (hb_face_t *face);

View File

@ -66,10 +66,6 @@
#undef MAX
#define MAX(a,b) ((a) > (b) ? (a) : (b))
#ifndef HB_INTERNAL
# define HB_INTERNAL extern
#endif
#undef ARRAY_LENGTH
#define ARRAY_LENGTH(__array) ((signed int) (sizeof (__array) / sizeof (__array[0])))
@ -111,6 +107,10 @@
#define HB_UNUSED
#endif
#ifndef HB_INTERNAL
# define HB_INTERNAL extern __attribute__((__visibility__("hidden")))
#endif
#if (defined(__WIN32__) && !defined(__WINE__)) || defined(_MSC_VER)
#define snprintf _snprintf