summaryrefslogtreecommitdiff
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
commita79cf8437b936e1c3e730a9b216867cfaa9520bc (patch)
tree1da4cb93e407d2da54f582f2825a06f365037147
parentc478a22e917cd68b1adcab7022923479809d9cb0 (diff)
downloadlibwapcaplet-a79cf8437b936e1c3e730a9b216867cfaa9520bc.tar.gz
libwapcaplet-a79cf8437b936e1c3e730a9b216867cfaa9520bc.tar.bz2
Sprinkle some C++ scoping around
svn path=/trunk/libwapcaplet/; revision=10901
-rw-r--r--include/libwapcaplet/libwapcaplet.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libwapcaplet/libwapcaplet.h b/include/libwapcaplet/libwapcaplet.h
index e5b1844..a92dc4e 100644
--- a/include/libwapcaplet/libwapcaplet.h
+++ b/include/libwapcaplet/libwapcaplet.h
@@ -9,6 +9,11 @@
#ifndef libwapcaplet_h_
#define libwapcaplet_h_
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
#include <sys/types.h>
#include <stdbool.h>
#include <stdint.h>
@@ -215,4 +220,8 @@ extern uint32_t lwc_string_hash_value(lwc_string *str);
*/
extern void lwc_iterate_strings(lwc_iteration_callback_fn cb, void *pw);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* libwapcaplet_h_ */