diff options
Diffstat (limited to 'include/libcss/types.h')
-rw-r--r-- | include/libcss/types.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libcss/types.h b/include/libcss/types.h index 1a9fbba..7c2e7f2 100644 --- a/include/libcss/types.h +++ b/include/libcss/types.h @@ -8,6 +8,11 @@ #ifndef libcss_types_h_ #define libcss_types_h_ +#ifdef __cplusplus +extern "C" +{ +#endif + #include <stdbool.h> #include <stdint.h> #include <stdlib.h> @@ -101,4 +106,8 @@ typedef struct css_select_ctx css_select_ctx; typedef struct css_computed_style css_computed_style; +#ifdef __cplusplus +} +#endif + #endif |