diff options
author | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2009-09-19 10:31:18 +0300 |
---|---|---|
committer | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2009-09-19 10:40:43 +0300 |
commit | 79613500f185893bb2d5acb99143e97ece2ebb87 (patch) | |
tree | 6d4dd3ed7b3cefd90b1027e05a39abada07748ae /cairosdl.h | |
parent | 4987324ec141f8959bb314a1f2b4173438f4842d (diff) |
Diffstat (limited to 'cairosdl.h')
-rw-r--r-- | cairosdl.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -27,6 +27,10 @@ #include <cairo.h> #include <SDL.h> +#ifdef __cplusplus +extern "C" { +#endif + /* All cairo and cairosdl functions expect the underlying SDL_Surface * to be locked or not need locking. The underlying condition is that * the ->pixels member of the SDL_Surface should be valid and not @@ -109,4 +113,7 @@ cairosdl_destroy (cairo_t *cr); #define CAIROSDL_GMASK (255U << CAIROSDL_GSHIFT) #define CAIROSDL_BMASK (255U << CAIROSDL_BSHIFT) +#ifdef __cplusplus +} +#endif #endif /* CAIROSDL_H */ |