Mercurial > hg > xemacs-beta
comparison src/console-x.h @ 4528:726060ee587c g++-warning-removal-2008-10-28
First draft of g++ 4.3 warning removal patch. Builds. *Needs ChangeLogs.*
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Wed, 29 Oct 2008 04:06:33 +0900 |
parents | fc7067b7f407 |
children | b3ce27ca7647 19a72041c5ed |
comparison
equal
deleted
inserted
replaced
4524:03ba50f7ecd7 | 4528:726060ee587c |
---|---|
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) | |
80 | 68 |
81 #ifdef __cplusplus | 69 #ifdef __cplusplus |
82 #define X_CLASSFIELD c_class | 70 #define X_CLASSFIELD c_class |
83 #else | 71 #else |
84 #define X_CLASSFIELD class | 72 #define X_CLASSFIELD class |
210 void describe_XIM (XIM im); | 198 void describe_XIM (XIM im); |
211 void describe_XIMStyle (XIMStyle style); | 199 void describe_XIMStyle (XIMStyle style); |
212 void describe_XIMStyles (XIMStyles *styles); | 200 void describe_XIMStyles (XIMStyles *styles); |
213 void describe_XIC (XIC ic); | 201 void describe_XIC (XIC ic); |
214 void describe_event_mask (unsigned long mask); | 202 void describe_event_mask (unsigned long mask); |
215 void describe_XRectangle (char *name, XRectangle *rect); | 203 void describe_XRectangle (const char *name, XRectangle *rect); |
216 void describe_Status (Status status); | 204 void describe_Status (Status status); |
217 #endif /* DEBUG_XEMACS */ | 205 #endif /* DEBUG_XEMACS */ |
218 #endif /* XIM_XLIB */ | 206 #endif /* XIM_XLIB */ |
219 #endif /* HAVE_XIM */ | 207 #endif /* HAVE_XIM */ |
220 | 208 |