Allow overriding HB_BEGIN_DECLS / HB_END_DECLS

pull/1/head
Behdad Esfahbod 13 years ago
parent ec5f5f0f8a
commit 5c5bc96216
  1. 2
      src/hb-common.h

@ -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

Loading…
Cancel
Save