summaryrefslogtreecommitdiff
path: root/include/hubbub/errors.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
commita3e5a9ca169a8f4d13d82fe2673939a96e56ff62 (patch)
treea048ccd8270bab71649a5953f8a3f188f7fe54a4 /include/hubbub/errors.h
parent0a4771f5deebb4c961d35d94525eb91d2afa9cca (diff)
downloadlibhubbub-a3e5a9ca169a8f4d13d82fe2673939a96e56ff62.tar.gz
libhubbub-a3e5a9ca169a8f4d13d82fe2673939a96e56ff62.tar.bz2
Sprinkle some C++ scoping around
svn path=/trunk/hubbub/; revision=10901
Diffstat (limited to 'include/hubbub/errors.h')
-rw-r--r--include/hubbub/errors.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/hubbub/errors.h b/include/hubbub/errors.h
index 607c06b..ee7870a 100644
--- a/include/hubbub/errors.h
+++ b/include/hubbub/errors.h
@@ -8,6 +8,11 @@
#ifndef hubbub_errors_h_
#define hubbub_errors_h_
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
#include <stddef.h>
typedef enum hubbub_error {
@@ -28,5 +33,9 @@ typedef enum hubbub_error {
/* Convert a hubbub error value to a string */
const char *hubbub_error_to_string(hubbub_error error);
+#ifdef __cplusplus
+}
+#endif
+
#endif