Allow overriding HB_BEGIN_DECLS / HB_END_DECLS
This commit is contained in:
parent
ec5f5f0f8a
commit
5c5bc96216
|
@ -33,6 +33,7 @@
|
||||||
#ifndef HB_COMMON_H
|
#ifndef HB_COMMON_H
|
||||||
#define HB_COMMON_H
|
#define HB_COMMON_H
|
||||||
|
|
||||||
|
#ifndef HB_BEGIN_DECLS
|
||||||
# ifdef __cplusplus
|
# ifdef __cplusplus
|
||||||
# define HB_BEGIN_DECLS extern "C" {
|
# define HB_BEGIN_DECLS extern "C" {
|
||||||
# define HB_END_DECLS }
|
# define HB_END_DECLS }
|
||||||
|
@ -40,6 +41,7 @@
|
||||||
# define HB_BEGIN_DECLS
|
# define HB_BEGIN_DECLS
|
||||||
# define HB_END_DECLS
|
# define HB_END_DECLS
|
||||||
# endif /* !__cplusplus */
|
# endif /* !__cplusplus */
|
||||||
|
#endif
|
||||||
|
|
||||||
HB_BEGIN_DECLS
|
HB_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue