diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-10-23 23:00:21 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-10-23 23:00:21 +0000 |
commit | a3e5a9ca169a8f4d13d82fe2673939a96e56ff62 (patch) | |
tree | a048ccd8270bab71649a5953f8a3f188f7fe54a4 /include/hubbub/hubbub.h | |
parent | 0a4771f5deebb4c961d35d94525eb91d2afa9cca (diff) | |
download | libhubbub-a3e5a9ca169a8f4d13d82fe2673939a96e56ff62.tar.gz libhubbub-a3e5a9ca169a8f4d13d82fe2673939a96e56ff62.tar.bz2 |
Sprinkle some C++ scoping around
svn path=/trunk/hubbub/; revision=10901
Diffstat (limited to 'include/hubbub/hubbub.h')
-rw-r--r-- | include/hubbub/hubbub.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/hubbub/hubbub.h b/include/hubbub/hubbub.h index 7de7e5c..d6ddc01 100644 --- a/include/hubbub/hubbub.h +++ b/include/hubbub/hubbub.h @@ -8,6 +8,11 @@ #ifndef hubbub_h_ #define hubbub_h_ +#ifdef __cplusplus +extern "C" +{ +#endif + #include <hubbub/errors.h> #include <hubbub/functypes.h> #include <hubbub/types.h> @@ -19,5 +24,9 @@ hubbub_error hubbub_initialise(const char *aliases_file, /* Clean up after Hubbub */ hubbub_error hubbub_finalise(hubbub_allocator_fn alloc, void *pw); +#ifdef __cplusplus +} +#endif + #endif |