mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-04 18:00:21 +01:00
Add extern "C" stuff to cairo-xlib.h
This commit is contained in:
parent
cdc84283e3
commit
5f48214ad2
2 changed files with 19 additions and 5 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2003-10-11 Carl Worth <cworth@isi.edu>
|
||||
|
||||
* src/cairo-xlib.h: Add extern "C" stuff. (Thanks to Soory Kuloor
|
||||
for the reminder).
|
||||
|
||||
2003-10-09 Carl Worth <cworth@isi.edu>
|
||||
|
||||
* src/cairo_font.c: Stub out NULL_POINTER errors as
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue