summaryrefslogtreecommitdiff
path: root/include/libcss/libcss.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
commit3541ce862727a967c92f7f08e3c7da16522f89ef (patch)
tree30ce9815e8798368a4f6b05fe88489dab0ac9a97 /include/libcss/libcss.h
parent120854ccb2e12e2306c42bfef2a355c5f60699e9 (diff)
downloadlibcss-3541ce862727a967c92f7f08e3c7da16522f89ef.tar.gz
libcss-3541ce862727a967c92f7f08e3c7da16522f89ef.tar.bz2
Sprinkle some C++ scoping around
svn path=/trunk/libcss/; revision=10901
Diffstat (limited to 'include/libcss/libcss.h')
-rw-r--r--include/libcss/libcss.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libcss/libcss.h b/include/libcss/libcss.h
index e3eb0ec..9ab6149 100644
--- a/include/libcss/libcss.h
+++ b/include/libcss/libcss.h
@@ -8,6 +8,11 @@
#ifndef libcss_h_
#define libcss_h_
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
#include <libwapcaplet/libwapcaplet.h>
#include <libcss/errors.h>
@@ -25,5 +30,9 @@ css_error css_initialise(const char *aliases_file,
/* Clean up after LibCSS */
css_error css_finalise(css_allocator_fn alloc, void *pw);
+#ifdef __cplusplus
+}
+#endif
+
#endif