mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 23:11:04 +01:00
Hide internal symbols
This commit is contained in:
1 parent
8951fc2c82
commit
eee8598d75
2 files changed
+6
-6
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
|
||||
+4
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user