summaryrefslogtreecommitdiff
path: root/include/parserutils/parserutils.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-10-23 23:00:21 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-10-23 23:00:21 +0000
commitd485dbd52ebc6a911a5ddcf6891212fccb82e8c0 (patch)
tree2494d29b36b7406eaa0b0a634fe9260001bd914e /include/parserutils/parserutils.h
parent6537f4f4acc41eb0608fdb1506ff8fc947cfb121 (diff)
downloadlibparserutils-d485dbd52ebc6a911a5ddcf6891212fccb82e8c0.tar.gz
libparserutils-d485dbd52ebc6a911a5ddcf6891212fccb82e8c0.tar.bz2
Sprinkle some C++ scoping around
svn path=/trunk/libparserutils/; revision=10901
Diffstat (limited to 'include/parserutils/parserutils.h')
-rw-r--r--include/parserutils/parserutils.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/parserutils/parserutils.h b/include/parserutils/parserutils.h
index 460e80c..aa2b5ac 100644
--- a/include/parserutils/parserutils.h
+++ b/include/parserutils/parserutils.h
@@ -8,6 +8,11 @@
#ifndef parserutils_parserutils_h_
#define parserutils_parserutils_h_
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
#include <parserutils/errors.h>
#include <parserutils/functypes.h>
#include <parserutils/types.h>
@@ -19,5 +24,9 @@ parserutils_error parserutils_initialise(const char *aliases_file,
/* Clean up after ParserUtils */
parserutils_error parserutils_finalise(parserutils_alloc alloc, void *pw);
+#ifdef __cplusplus
+}
+#endif
+
#endif