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 | 3541ce862727a967c92f7f08e3c7da16522f89ef (patch) | |
tree | 30ce9815e8798368a4f6b05fe88489dab0ac9a97 /include/libcss/functypes.h | |
parent | 120854ccb2e12e2306c42bfef2a355c5f60699e9 (diff) | |
download | libcss-3541ce862727a967c92f7f08e3c7da16522f89ef.tar.gz libcss-3541ce862727a967c92f7f08e3c7da16522f89ef.tar.bz2 |
Sprinkle some C++ scoping around
svn path=/trunk/libcss/; revision=10901
Diffstat (limited to 'include/libcss/functypes.h')
-rw-r--r-- | include/libcss/functypes.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libcss/functypes.h b/include/libcss/functypes.h index c091f0b..2acd44a 100644 --- a/include/libcss/functypes.h +++ b/include/libcss/functypes.h @@ -8,6 +8,11 @@ #ifndef libcss_functypes_h_ #define libcss_functypes_h_ +#ifdef __cplusplus +extern "C" +{ +#endif + #include <stdbool.h> #include <stdint.h> #include <stdlib.h> @@ -17,5 +22,9 @@ /* Type of allocation function for libcss */ typedef void *(*css_allocator_fn)(void *ptr, size_t size, void *pw); +#ifdef __cplusplus +} +#endif + #endif |