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/fpmath.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/fpmath.h')
-rw-r--r-- | include/libcss/fpmath.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libcss/fpmath.h b/include/libcss/fpmath.h index 8b867f8..3867f3a 100644 --- a/include/libcss/fpmath.h +++ b/include/libcss/fpmath.h @@ -8,6 +8,11 @@ #ifndef libcss_fpmath_h_ #define libcss_fpmath_h_ +#ifdef __cplusplus +extern "C" +{ +#endif + #include <stdint.h> /* 22:10 fixed point math */ @@ -57,5 +62,9 @@ typedef int32_t css_fixed; #define F_300 0x0004b000 /* 300 */ #define F_400 0x00064000 /* 400 */ +#ifdef __cplusplus +} +#endif + #endif |