From a3e5a9ca169a8f4d13d82fe2673939a96e56ff62 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 23 Oct 2010 23:00:21 +0000 Subject: Sprinkle some C++ scoping around svn path=/trunk/hubbub/; revision=10901 --- include/hubbub/types.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/hubbub/types.h') diff --git a/include/hubbub/types.h b/include/hubbub/types.h index 66eca39..e5c208b 100644 --- a/include/hubbub/types.h +++ b/include/hubbub/types.h @@ -8,6 +8,11 @@ #ifndef hubbub_types_h_ #define hubbub_types_h_ +#ifdef __cplusplus +extern "C" +{ +#endif + #include #include @@ -125,4 +130,8 @@ typedef struct hubbub_token { } data; /**< Type-specific data */ } hubbub_token; +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3