Allow overriding HB_BEGIN_DECLS / HB_END_DECLS

This commit is contained in:
Behdad Esfahbod 2012-07-13 10:15:37 -04:00
parent ec5f5f0f8a
commit 5c5bc96216
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@
#ifndef HB_COMMON_H
#define HB_COMMON_H
#ifndef HB_BEGIN_DECLS
# ifdef __cplusplus
# define HB_BEGIN_DECLS extern "C" {
# define HB_END_DECLS }
@ -40,6 +41,7 @@
# define HB_BEGIN_DECLS
# define HB_END_DECLS
# endif /* !__cplusplus */
#endif
HB_BEGIN_DECLS