summaryrefslogtreecommitdiff
path: root/include/parserutils/types.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/types.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/types.h')
-rw-r--r--include/parserutils/types.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/parserutils/types.h b/include/parserutils/types.h
index b36e4aa..a4bd9b3 100644
--- a/include/parserutils/types.h
+++ b/include/parserutils/types.h
@@ -8,8 +8,17 @@
#ifndef parserutils_types_h_
#define parserutils_types_h_
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
#include <stdbool.h>
#include <inttypes.h>
+#ifdef __cplusplus
+}
+#endif
+
#endif