[Commit] Xc/src Xc.h,1.7,1.8
commit@keithp.com
commit@keithp.com
Wed, 23 Apr 2003 07:18:28 -0700
Committed by: cworth
Update of /local/src/CVS/Xc/src
In directory home.keithp.com:/tmp/cvs-serv19969/src
Modified Files:
Xc.h
Log Message:
extern "C" stuff to support C++ (Fredrik Höglund)
Index: Xc.h
===================================================================
RCS file: /local/src/CVS/Xc/src/Xc.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Xc.h 17 Apr 2003 15:55:43 -0000 1.7
+++ Xc.h 23 Apr 2003 14:18:26 -0000 1.8
@@ -28,6 +28,7 @@
#define _XC_H_
#include <X11/extensions/Xrender.h>
+#include <X11/Xfuncproto.h>
#include <fontconfig/fontconfig.h>
#include <ic.h>
#include <pixregion.h>
@@ -35,6 +36,8 @@
typedef struct _XcSurface XcSurface;
typedef XRenderColor XcColor;
+_XFUNCPROTOBEGIN
+
/* surface creation/destruction */
/* XXX: What's the best way to support both windows and pixmaps? Right
@@ -141,5 +144,7 @@
function. */
Picture
XcSurfaceGetPicture(XcSurface *surface);
+
+_XFUNCPROTOEND
#endif