diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-10-23 23:00:21 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-10-23 23:00:21 +0000 |
commit | d485dbd52ebc6a911a5ddcf6891212fccb82e8c0 (patch) | |
tree | 2494d29b36b7406eaa0b0a634fe9260001bd914e /include/parserutils/errors.h | |
parent | 6537f4f4acc41eb0608fdb1506ff8fc947cfb121 (diff) | |
download | libparserutils-d485dbd52ebc6a911a5ddcf6891212fccb82e8c0.tar.gz libparserutils-d485dbd52ebc6a911a5ddcf6891212fccb82e8c0.tar.bz2 |
Sprinkle some C++ scoping around
svn path=/trunk/libparserutils/; revision=10901
Diffstat (limited to 'include/parserutils/errors.h')
-rw-r--r-- | include/parserutils/errors.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/parserutils/errors.h b/include/parserutils/errors.h index 74c7f34..6a6aa0b 100644 --- a/include/parserutils/errors.h +++ b/include/parserutils/errors.h @@ -8,6 +8,11 @@ #ifndef parserutils_errors_h_ #define parserutils_errors_h_ +#ifdef __cplusplus +extern "C" +{ +#endif + #include <stddef.h> typedef enum parserutils_error { @@ -27,5 +32,9 @@ const char *parserutils_error_to_string(parserutils_error error); /* Convert a string to a parserutils error value */ parserutils_error parserutils_error_from_string(const char *str, size_t len); +#ifdef __cplusplus +} +#endif + #endif |