summaryrefslogtreecommitdiff
path: root/include/libcss/stylesheet.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcss/stylesheet.h')
-rw-r--r--include/libcss/stylesheet.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libcss/stylesheet.h b/include/libcss/stylesheet.h
index b9cb5ab..32e8d00 100644
--- a/include/libcss/stylesheet.h
+++ b/include/libcss/stylesheet.h
@@ -8,6 +8,11 @@
#ifndef libcss_stylesheet_h_
#define libcss_stylesheet_h_
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
#include <libcss/errors.h>
#include <libcss/types.h>
@@ -53,5 +58,9 @@ css_error css_stylesheet_set_disabled(css_stylesheet *sheet, bool disabled);
css_error css_stylesheet_size(css_stylesheet *sheet, size_t *size);
+#ifdef __cplusplus
+}
+#endif
+
#endif