summaryrefslogtreecommitdiff
path: root/include/hubbub/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hubbub/parser.h')
-rw-r--r--include/hubbub/parser.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/hubbub/parser.h b/include/hubbub/parser.h
index e1e504c..06b8d7f 100644
--- a/include/hubbub/parser.h
+++ b/include/hubbub/parser.h
@@ -8,6 +8,11 @@
#ifndef hubbub_parser_h_
#define hubbub_parser_h_
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
#include <stdbool.h>
#include <inttypes.h>
@@ -77,5 +82,9 @@ hubbub_error hubbub_parser_completed(hubbub_parser *parser);
const char *hubbub_parser_read_charset(hubbub_parser *parser,
hubbub_charset_source *source);
+#ifdef __cplusplus
+}
+#endif
+
#endif