Mercurial > hg > xemacs-beta
comparison lwlib/xt-wrappers.h @ 5027:22179cd0fe15
merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Wed, 10 Feb 2010 07:25:19 -0600 |
parents | 2ade80e8c640 |
children | 308d34e9f07d |
comparison
equal
deleted
inserted
replaced
5026:46cf825f6158 | 5027:22179cd0fe15 |
---|---|
87 } while (0) | 87 } while (0) |
88 | 88 |
89 /* Convenience macros for getting/setting one resource value. */ | 89 /* Convenience macros for getting/setting one resource value. */ |
90 | 90 |
91 #define Xt_SET_VALUE(widget, resource, value) do { \ | 91 #define Xt_SET_VALUE(widget, resource, value) do { \ |
92 Arg al; \ | 92 Arg al__; \ |
93 Xt_SET_ARG (al, resource, value); \ | 93 Xt_SET_ARG (al__, resource, value); \ |
94 XtSetValues (widget, &al, 1); \ | 94 XtSetValues (widget, &al__, 1); \ |
95 } while (0) | 95 } while (0) |
96 | 96 |
97 #define Xt_GET_VALUE(widget, resource, location) do { \ | 97 #define Xt_GET_VALUE(widget, resource, location) do { \ |
98 Arg al; \ | 98 Arg al__; \ |
99 Xt_SET_ARG (al, resource, location); \ | 99 Xt_SET_ARG (al__, resource, location); \ |
100 XtGetValues (widget, &al, 1); \ | 100 XtGetValues (widget, &al__, 1); \ |
101 } while (0) | 101 } while (0) |
102 | 102 |
103 #endif /* INCLUDED_xt_wrappers_h_ */ | 103 #endif /* INCLUDED_xt_wrappers_h_ */ |