diff options
author | Carl Worth <cworth@cworth.org> | 2003-10-11 13:49:13 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2003-10-11 13:49:13 +0000 |
commit | 5f48214ad24ace45276f15111fa5b15c2956f38f (patch) | |
tree | ef7d6b2c5891ff50c738d9e72b5ecf6a1a12bfb2 /src/cairo-xlib.h | |
parent | cdc84283e321a3fd14c430b8f991f60ac624204c (diff) | |
download | cairo-5f48214ad24ace45276f15111fa5b15c2956f38f.tar.gz |
Add extern "C" stuff to cairo-xlib.h
Diffstat (limited to 'src/cairo-xlib.h')
-rw-r--r-- | src/cairo-xlib.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/src/cairo-xlib.h b/src/cairo-xlib.h index 0e282cbd4..258cc5fc5 100644 --- a/src/cairo-xlib.h +++ b/src/cairo-xlib.h @@ -29,12 +29,15 @@ #define _CAIRO_XLIB_H_ #include "cairo.h" +#ifdef _CAIROINT_H_ +#include <slim_export.h> +#else +#include <slim_import.h> +#endif -#ifdef _CAIROINT_H_ -#include <slim_export.h> -#else -#include <slim_import.h> -#endif +#ifdef __cplusplus +extern "C" { +#endif /* XXX: This is a mess from the user's POV. Should the Visual or the cairo_format_t control what render format is used? Maybe I can have @@ -53,4 +56,10 @@ cairo_set_target_drawable (cairo_t *cr, Display *dpy, Drawable drawable); +#ifdef __cplusplus +} +#endif + +#undef __external_linkage + #endif |