Mercurial > hg > xemacs-beta
comparison src/console-x.h @ 4522:fc7067b7f407
Backout last patch; forgot to specify file.
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Wed, 29 Oct 2008 03:37:16 +0900 |
parents | 383ab474a241 |
children | 726060ee587c |
comparison
equal
deleted
inserted
replaced
4521:383ab474a241 | 4522:fc7067b7f407 |
---|---|
63 /* R5 defines the XPointer type, but R4 doesn't. | 63 /* R5 defines the XPointer type, but R4 doesn't. |
64 R4 also doesn't define a version number, but R5 does. */ | 64 R4 also doesn't define a version number, but R5 does. */ |
65 #if (XlibSpecificationRelease < 5) | 65 #if (XlibSpecificationRelease < 5) |
66 # define XPointer char * | 66 # define XPointer char * |
67 #endif | 67 #endif |
68 | |
69 #define Xt_SET_VALUE(widget, resource, value) do { \ | |
70 Arg al; \ | |
71 XtSetArg (al, resource, value); \ | |
72 XtSetValues (widget, &al, 1); \ | |
73 } while (0) | |
74 | |
75 #define Xt_GET_VALUE(widget, resource, location) do { \ | |
76 Arg al; \ | |
77 XtSetArg (al, resource, location); \ | |
78 XtGetValues (widget, &al, 1); \ | |
79 } while (0) | |
68 | 80 |
69 #ifdef __cplusplus | 81 #ifdef __cplusplus |
70 #define X_CLASSFIELD c_class | 82 #define X_CLASSFIELD c_class |
71 #else | 83 #else |
72 #define X_CLASSFIELD class | 84 #define X_CLASSFIELD class |
198 void describe_XIM (XIM im); | 210 void describe_XIM (XIM im); |
199 void describe_XIMStyle (XIMStyle style); | 211 void describe_XIMStyle (XIMStyle style); |
200 void describe_XIMStyles (XIMStyles *styles); | 212 void describe_XIMStyles (XIMStyles *styles); |
201 void describe_XIC (XIC ic); | 213 void describe_XIC (XIC ic); |
202 void describe_event_mask (unsigned long mask); | 214 void describe_event_mask (unsigned long mask); |
203 void describe_XRectangle (const char *name, XRectangle *rect); | 215 void describe_XRectangle (char *name, XRectangle *rect); |
204 void describe_Status (Status status); | 216 void describe_Status (Status status); |
205 #endif /* DEBUG_XEMACS */ | 217 #endif /* DEBUG_XEMACS */ |
206 #endif /* XIM_XLIB */ | 218 #endif /* XIM_XLIB */ |
207 #endif /* HAVE_XIM */ | 219 #endif /* HAVE_XIM */ |
208 | 220 |