From 3541ce862727a967c92f7f08e3c7da16522f89ef Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 23 Oct 2010 23:00:21 +0000 Subject: Sprinkle some C++ scoping around svn path=/trunk/libcss/; revision=10901 --- include/libcss/libcss.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/libcss/libcss.h') diff --git a/include/libcss/libcss.h b/include/libcss/libcss.h index e3eb0ec..9ab6149 100644 --- a/include/libcss/libcss.h +++ b/include/libcss/libcss.h @@ -8,6 +8,11 @@ #ifndef libcss_h_ #define libcss_h_ +#ifdef __cplusplus +extern "C" +{ +#endif + #include #include @@ -25,5 +30,9 @@ css_error css_initialise(const char *aliases_file, /* Clean up after LibCSS */ css_error css_finalise(css_allocator_fn alloc, void *pw); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.1