summaryrefslogtreecommitdiff
path: root/include/closestr.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:22 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:22 +0000
commitd568221710959cf7d783e6ff0fb80fb43a231124 (patch)
tree8d6f039393294c6ffac8533639afdebe5d68bfc1 /include/closestr.h
parent9508a382f8a9f241dab097d921b6d290c1c3a776 (diff)
Diffstat (limited to 'include/closestr.h')
-rw-r--r--include/closestr.h29
1 files changed, 27 insertions, 2 deletions
diff --git a/include/closestr.h b/include/closestr.h
index 323a971bb..3bcb92634 100644
--- a/include/closestr.h
+++ b/include/closestr.h
@@ -26,6 +26,7 @@ other dealings in this Software without prior written authorization
from The Open Group.
*/
+/* $XFree86: xc/programs/Xserver/include/closestr.h,v 3.4 2001/12/14 19:59:53 dawes Exp $ */
#ifndef CLOSESTR_H
@@ -102,6 +103,18 @@ typedef struct _LFclosure {
/* PolyText */
+typedef
+ int (* PolyTextPtr)(
+#if NeedNestedPrototypes
+ DrawablePtr /* pDraw */,
+ GCPtr /* pGC */,
+ int /* x */,
+ int /* y */,
+ int /* count */,
+ void * /* chars or shorts */
+#endif
+ );
+
typedef struct _PTclosure {
ClientPtr client;
DrawablePtr pDraw;
@@ -112,7 +125,7 @@ typedef struct _PTclosure {
int xorg;
int yorg;
CARD8 reqType;
- int (* polyText)();
+ PolyTextPtr polyText;
int itemSize;
XID did;
int err;
@@ -121,6 +134,18 @@ typedef struct _PTclosure {
/* ImageText */
+typedef
+ void (* ImageTextPtr)(
+#if NeedNestedPrototypes
+ DrawablePtr /* pDraw */,
+ GCPtr /* pGC */,
+ int /* x */,
+ int /* y */,
+ int /* count */,
+ void * /* chars or shorts */
+#endif
+ );
+
typedef struct _ITclosure {
ClientPtr client;
DrawablePtr pDraw;
@@ -130,7 +155,7 @@ typedef struct _ITclosure {
int xorg;
int yorg;
CARD8 reqType;
- void (* imageText)();
+ ImageTextPtr imageText;
int itemSize;
XID did;
Bool slept;