summaryrefslogtreecommitdiff
path: root/include/parserutils/functypes.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/functypes.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/functypes.h')
-rw-r--r--include/parserutils/functypes.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/parserutils/functypes.h b/include/parserutils/functypes.h
index 703a329..7ff626d 100644
--- a/include/parserutils/functypes.h
+++ b/include/parserutils/functypes.h
@@ -8,6 +8,11 @@
#ifndef parserutils_functypes_h_
#define parserutils_functypes_h_
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
@@ -17,5 +22,9 @@
/* Type of allocation function for parserutils */
typedef void *(*parserutils_alloc)(void *ptr, size_t size, void *pw);
+#ifdef __cplusplus
+}
+#endif
+
#endif