1// This file is generated. Do not edit!
2// see https://github.com/hpvb/dynload-wrapper for details
3// generated by generate-wrapper.py 0.3 on 2023-01-23 15:14:14
4// flags: generate-wrapper.py --include ./thirdparty/linuxbsd_headers/X11/extensions/Xrender.h --sys-include "thirdparty/linuxbsd_headers/X11/extensions/Xrender.h" --soname libXrender.so.1 --init-name xrender --output-header ./platform/linuxbsd/x11/dynwrappers/xrender-so_wrap.h --output-implementation ./platform/linuxbsd/x11/dynwrappers/xrender-so_wrap.c~
5//
6// NOTE: Generated from Xrender 0.9.10.
7// This has been handpatched to workaround some issues with the generator that
8// will be eventually fixed. In this case, non-existent symbols inherited from
9// libX11, but absent in libXrender.so.1, were removed.
10#include <stdint.h>
11
12#define XRenderQueryExtension XRenderQueryExtension_dylibloader_orig_xrender
13#define XRenderQueryVersion XRenderQueryVersion_dylibloader_orig_xrender
14#define XRenderQueryFormats XRenderQueryFormats_dylibloader_orig_xrender
15#define XRenderQuerySubpixelOrder XRenderQuerySubpixelOrder_dylibloader_orig_xrender
16#define XRenderSetSubpixelOrder XRenderSetSubpixelOrder_dylibloader_orig_xrender
17#define XRenderFindVisualFormat XRenderFindVisualFormat_dylibloader_orig_xrender
18#define XRenderFindFormat XRenderFindFormat_dylibloader_orig_xrender
19#define XRenderFindStandardFormat XRenderFindStandardFormat_dylibloader_orig_xrender
20#define XRenderQueryPictIndexValues XRenderQueryPictIndexValues_dylibloader_orig_xrender
21#define XRenderCreatePicture XRenderCreatePicture_dylibloader_orig_xrender
22#define XRenderChangePicture XRenderChangePicture_dylibloader_orig_xrender
23#define XRenderSetPictureClipRectangles XRenderSetPictureClipRectangles_dylibloader_orig_xrender
24#define XRenderSetPictureClipRegion XRenderSetPictureClipRegion_dylibloader_orig_xrender
25#define XRenderSetPictureTransform XRenderSetPictureTransform_dylibloader_orig_xrender
26#define XRenderFreePicture XRenderFreePicture_dylibloader_orig_xrender
27#define XRenderComposite XRenderComposite_dylibloader_orig_xrender
28#define XRenderCreateGlyphSet XRenderCreateGlyphSet_dylibloader_orig_xrender
29#define XRenderReferenceGlyphSet XRenderReferenceGlyphSet_dylibloader_orig_xrender
30#define XRenderFreeGlyphSet XRenderFreeGlyphSet_dylibloader_orig_xrender
31#define XRenderAddGlyphs XRenderAddGlyphs_dylibloader_orig_xrender
32#define XRenderFreeGlyphs XRenderFreeGlyphs_dylibloader_orig_xrender
33#define XRenderCompositeString8 XRenderCompositeString8_dylibloader_orig_xrender
34#define XRenderCompositeString16 XRenderCompositeString16_dylibloader_orig_xrender
35#define XRenderCompositeString32 XRenderCompositeString32_dylibloader_orig_xrender
36#define XRenderCompositeText8 XRenderCompositeText8_dylibloader_orig_xrender
37#define XRenderCompositeText16 XRenderCompositeText16_dylibloader_orig_xrender
38#define XRenderCompositeText32 XRenderCompositeText32_dylibloader_orig_xrender
39#define XRenderFillRectangle XRenderFillRectangle_dylibloader_orig_xrender
40#define XRenderFillRectangles XRenderFillRectangles_dylibloader_orig_xrender
41#define XRenderCompositeTrapezoids XRenderCompositeTrapezoids_dylibloader_orig_xrender
42#define XRenderCompositeTriangles XRenderCompositeTriangles_dylibloader_orig_xrender
43#define XRenderCompositeTriStrip XRenderCompositeTriStrip_dylibloader_orig_xrender
44#define XRenderCompositeTriFan XRenderCompositeTriFan_dylibloader_orig_xrender
45#define XRenderCompositeDoublePoly XRenderCompositeDoublePoly_dylibloader_orig_xrender
46#define XRenderParseColor XRenderParseColor_dylibloader_orig_xrender
47#define XRenderCreateCursor XRenderCreateCursor_dylibloader_orig_xrender
48#define XRenderQueryFilters XRenderQueryFilters_dylibloader_orig_xrender
49#define XRenderSetPictureFilter XRenderSetPictureFilter_dylibloader_orig_xrender
50#define XRenderCreateAnimCursor XRenderCreateAnimCursor_dylibloader_orig_xrender
51#define XRenderAddTraps XRenderAddTraps_dylibloader_orig_xrender
52#define XRenderCreateSolidFill XRenderCreateSolidFill_dylibloader_orig_xrender
53#define XRenderCreateLinearGradient XRenderCreateLinearGradient_dylibloader_orig_xrender
54#define XRenderCreateRadialGradient XRenderCreateRadialGradient_dylibloader_orig_xrender
55#define XRenderCreateConicalGradient XRenderCreateConicalGradient_dylibloader_orig_xrender
56#include "thirdparty/linuxbsd_headers/X11/extensions/Xrender.h"
57#undef XRenderQueryExtension
58#undef XRenderQueryVersion
59#undef XRenderQueryFormats
60#undef XRenderQuerySubpixelOrder
61#undef XRenderSetSubpixelOrder
62#undef XRenderFindVisualFormat
63#undef XRenderFindFormat
64#undef XRenderFindStandardFormat
65#undef XRenderQueryPictIndexValues
66#undef XRenderCreatePicture
67#undef XRenderChangePicture
68#undef XRenderSetPictureClipRectangles
69#undef XRenderSetPictureClipRegion
70#undef XRenderSetPictureTransform
71#undef XRenderFreePicture
72#undef XRenderComposite
73#undef XRenderCreateGlyphSet
74#undef XRenderReferenceGlyphSet
75#undef XRenderFreeGlyphSet
76#undef XRenderAddGlyphs
77#undef XRenderFreeGlyphs
78#undef XRenderCompositeString8
79#undef XRenderCompositeString16
80#undef XRenderCompositeString32
81#undef XRenderCompositeText8
82#undef XRenderCompositeText16
83#undef XRenderCompositeText32
84#undef XRenderFillRectangle
85#undef XRenderFillRectangles
86#undef XRenderCompositeTrapezoids
87#undef XRenderCompositeTriangles
88#undef XRenderCompositeTriStrip
89#undef XRenderCompositeTriFan
90#undef XRenderCompositeDoublePoly
91#undef XRenderParseColor
92#undef XRenderCreateCursor
93#undef XRenderQueryFilters
94#undef XRenderSetPictureFilter
95#undef XRenderCreateAnimCursor
96#undef XRenderAddTraps
97#undef XRenderCreateSolidFill
98#undef XRenderCreateLinearGradient
99#undef XRenderCreateRadialGradient
100#undef XRenderCreateConicalGradient
101#include <dlfcn.h>
102#include <stdio.h>
103int (*XRenderQueryExtension_dylibloader_wrapper_xrender)( Display*, int*, int*);
104int (*XRenderQueryVersion_dylibloader_wrapper_xrender)( Display*, int*, int*);
105int (*XRenderQueryFormats_dylibloader_wrapper_xrender)( Display*);
106int (*XRenderQuerySubpixelOrder_dylibloader_wrapper_xrender)( Display*, int);
107int (*XRenderSetSubpixelOrder_dylibloader_wrapper_xrender)( Display*, int, int);
108XRenderPictFormat* (*XRenderFindVisualFormat_dylibloader_wrapper_xrender)( Display*,const Visual*);
109XRenderPictFormat* (*XRenderFindFormat_dylibloader_wrapper_xrender)( Display*, unsigned long,const XRenderPictFormat*, int);
110XRenderPictFormat* (*XRenderFindStandardFormat_dylibloader_wrapper_xrender)( Display*, int);
111XIndexValue* (*XRenderQueryPictIndexValues_dylibloader_wrapper_xrender)( Display*,const XRenderPictFormat*, int*);
112Picture (*XRenderCreatePicture_dylibloader_wrapper_xrender)( Display*, Drawable,const XRenderPictFormat*, unsigned long,const XRenderPictureAttributes*);
113void (*XRenderChangePicture_dylibloader_wrapper_xrender)( Display*, Picture, unsigned long,const XRenderPictureAttributes*);
114void (*XRenderSetPictureClipRectangles_dylibloader_wrapper_xrender)( Display*, Picture, int, int,const XRectangle*, int);
115void (*XRenderSetPictureClipRegion_dylibloader_wrapper_xrender)( Display*, Picture, Region);
116void (*XRenderSetPictureTransform_dylibloader_wrapper_xrender)( Display*, Picture, XTransform*);
117void (*XRenderFreePicture_dylibloader_wrapper_xrender)( Display*, Picture);
118void (*XRenderComposite_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture, Picture, int, int, int, int, int, int, unsigned int, unsigned int);
119GlyphSet (*XRenderCreateGlyphSet_dylibloader_wrapper_xrender)( Display*,const XRenderPictFormat*);
120GlyphSet (*XRenderReferenceGlyphSet_dylibloader_wrapper_xrender)( Display*, GlyphSet);
121void (*XRenderFreeGlyphSet_dylibloader_wrapper_xrender)( Display*, GlyphSet);
122void (*XRenderAddGlyphs_dylibloader_wrapper_xrender)( Display*, GlyphSet,const Glyph*,const XGlyphInfo*, int,const char*, int);
123void (*XRenderFreeGlyphs_dylibloader_wrapper_xrender)( Display*, GlyphSet,const Glyph*, int);
124void (*XRenderCompositeString8_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, GlyphSet, int, int, int, int,const char*, int);
125void (*XRenderCompositeString16_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, GlyphSet, int, int, int, int,const unsigned short*, int);
126void (*XRenderCompositeString32_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, GlyphSet, int, int, int, int,const unsigned int*, int);
127void (*XRenderCompositeText8_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, int, int, int, int,const XGlyphElt8*, int);
128void (*XRenderCompositeText16_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, int, int, int, int,const XGlyphElt16*, int);
129void (*XRenderCompositeText32_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, int, int, int, int,const XGlyphElt32*, int);
130void (*XRenderFillRectangle_dylibloader_wrapper_xrender)( Display*, int, Picture,const XRenderColor*, int, int, unsigned int, unsigned int);
131void (*XRenderFillRectangles_dylibloader_wrapper_xrender)( Display*, int, Picture,const XRenderColor*,const XRectangle*, int);
132void (*XRenderCompositeTrapezoids_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, int, int,const XTrapezoid*, int);
133void (*XRenderCompositeTriangles_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, int, int,const XTriangle*, int);
134void (*XRenderCompositeTriStrip_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, int, int,const XPointFixed*, int);
135void (*XRenderCompositeTriFan_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, int, int,const XPointFixed*, int);
136void (*XRenderCompositeDoublePoly_dylibloader_wrapper_xrender)( Display*, int, Picture, Picture,const XRenderPictFormat*, int, int, int, int,const XPointDouble*, int, int);
137int (*XRenderParseColor_dylibloader_wrapper_xrender)( Display*, char*, XRenderColor*);
138Cursor (*XRenderCreateCursor_dylibloader_wrapper_xrender)( Display*, Picture, unsigned int, unsigned int);
139XFilters* (*XRenderQueryFilters_dylibloader_wrapper_xrender)( Display*, Drawable);
140void (*XRenderSetPictureFilter_dylibloader_wrapper_xrender)( Display*, Picture,const char*, XFixed*, int);
141Cursor (*XRenderCreateAnimCursor_dylibloader_wrapper_xrender)( Display*, int, XAnimCursor*);
142void (*XRenderAddTraps_dylibloader_wrapper_xrender)( Display*, Picture, int, int,const XTrap*, int);
143Picture (*XRenderCreateSolidFill_dylibloader_wrapper_xrender)( Display*,const XRenderColor*);
144Picture (*XRenderCreateLinearGradient_dylibloader_wrapper_xrender)( Display*,const XLinearGradient*,const XFixed*,const XRenderColor*, int);
145Picture (*XRenderCreateRadialGradient_dylibloader_wrapper_xrender)( Display*,const XRadialGradient*,const XFixed*,const XRenderColor*, int);
146Picture (*XRenderCreateConicalGradient_dylibloader_wrapper_xrender)( Display*,const XConicalGradient*,const XFixed*,const XRenderColor*, int);
147int initialize_xrender(int verbose) {
148 void *handle;
149 char *error;
150 handle = dlopen("libXrender.so.1", RTLD_LAZY);
151 if (!handle) {
152 if (verbose) {
153 fprintf(stderr, "%s\n", dlerror());
154 }
155 return(1);
156 }
157 dlerror();
158// XRenderQueryExtension
159 *(void **) (&XRenderQueryExtension_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderQueryExtension");
160 if (verbose) {
161 error = dlerror();
162 if (error != NULL) {
163 fprintf(stderr, "%s\n", error);
164 }
165 }
166// XRenderQueryVersion
167 *(void **) (&XRenderQueryVersion_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderQueryVersion");
168 if (verbose) {
169 error = dlerror();
170 if (error != NULL) {
171 fprintf(stderr, "%s\n", error);
172 }
173 }
174// XRenderQueryFormats
175 *(void **) (&XRenderQueryFormats_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderQueryFormats");
176 if (verbose) {
177 error = dlerror();
178 if (error != NULL) {
179 fprintf(stderr, "%s\n", error);
180 }
181 }
182// XRenderQuerySubpixelOrder
183 *(void **) (&XRenderQuerySubpixelOrder_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderQuerySubpixelOrder");
184 if (verbose) {
185 error = dlerror();
186 if (error != NULL) {
187 fprintf(stderr, "%s\n", error);
188 }
189 }
190// XRenderSetSubpixelOrder
191 *(void **) (&XRenderSetSubpixelOrder_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderSetSubpixelOrder");
192 if (verbose) {
193 error = dlerror();
194 if (error != NULL) {
195 fprintf(stderr, "%s\n", error);
196 }
197 }
198// XRenderFindVisualFormat
199 *(void **) (&XRenderFindVisualFormat_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderFindVisualFormat");
200 if (verbose) {
201 error = dlerror();
202 if (error != NULL) {
203 fprintf(stderr, "%s\n", error);
204 }
205 }
206// XRenderFindFormat
207 *(void **) (&XRenderFindFormat_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderFindFormat");
208 if (verbose) {
209 error = dlerror();
210 if (error != NULL) {
211 fprintf(stderr, "%s\n", error);
212 }
213 }
214// XRenderFindStandardFormat
215 *(void **) (&XRenderFindStandardFormat_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderFindStandardFormat");
216 if (verbose) {
217 error = dlerror();
218 if (error != NULL) {
219 fprintf(stderr, "%s\n", error);
220 }
221 }
222// XRenderQueryPictIndexValues
223 *(void **) (&XRenderQueryPictIndexValues_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderQueryPictIndexValues");
224 if (verbose) {
225 error = dlerror();
226 if (error != NULL) {
227 fprintf(stderr, "%s\n", error);
228 }
229 }
230// XRenderCreatePicture
231 *(void **) (&XRenderCreatePicture_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCreatePicture");
232 if (verbose) {
233 error = dlerror();
234 if (error != NULL) {
235 fprintf(stderr, "%s\n", error);
236 }
237 }
238// XRenderChangePicture
239 *(void **) (&XRenderChangePicture_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderChangePicture");
240 if (verbose) {
241 error = dlerror();
242 if (error != NULL) {
243 fprintf(stderr, "%s\n", error);
244 }
245 }
246// XRenderSetPictureClipRectangles
247 *(void **) (&XRenderSetPictureClipRectangles_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderSetPictureClipRectangles");
248 if (verbose) {
249 error = dlerror();
250 if (error != NULL) {
251 fprintf(stderr, "%s\n", error);
252 }
253 }
254// XRenderSetPictureClipRegion
255 *(void **) (&XRenderSetPictureClipRegion_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderSetPictureClipRegion");
256 if (verbose) {
257 error = dlerror();
258 if (error != NULL) {
259 fprintf(stderr, "%s\n", error);
260 }
261 }
262// XRenderSetPictureTransform
263 *(void **) (&XRenderSetPictureTransform_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderSetPictureTransform");
264 if (verbose) {
265 error = dlerror();
266 if (error != NULL) {
267 fprintf(stderr, "%s\n", error);
268 }
269 }
270// XRenderFreePicture
271 *(void **) (&XRenderFreePicture_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderFreePicture");
272 if (verbose) {
273 error = dlerror();
274 if (error != NULL) {
275 fprintf(stderr, "%s\n", error);
276 }
277 }
278// XRenderComposite
279 *(void **) (&XRenderComposite_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderComposite");
280 if (verbose) {
281 error = dlerror();
282 if (error != NULL) {
283 fprintf(stderr, "%s\n", error);
284 }
285 }
286// XRenderCreateGlyphSet
287 *(void **) (&XRenderCreateGlyphSet_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCreateGlyphSet");
288 if (verbose) {
289 error = dlerror();
290 if (error != NULL) {
291 fprintf(stderr, "%s\n", error);
292 }
293 }
294// XRenderReferenceGlyphSet
295 *(void **) (&XRenderReferenceGlyphSet_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderReferenceGlyphSet");
296 if (verbose) {
297 error = dlerror();
298 if (error != NULL) {
299 fprintf(stderr, "%s\n", error);
300 }
301 }
302// XRenderFreeGlyphSet
303 *(void **) (&XRenderFreeGlyphSet_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderFreeGlyphSet");
304 if (verbose) {
305 error = dlerror();
306 if (error != NULL) {
307 fprintf(stderr, "%s\n", error);
308 }
309 }
310// XRenderAddGlyphs
311 *(void **) (&XRenderAddGlyphs_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderAddGlyphs");
312 if (verbose) {
313 error = dlerror();
314 if (error != NULL) {
315 fprintf(stderr, "%s\n", error);
316 }
317 }
318// XRenderFreeGlyphs
319 *(void **) (&XRenderFreeGlyphs_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderFreeGlyphs");
320 if (verbose) {
321 error = dlerror();
322 if (error != NULL) {
323 fprintf(stderr, "%s\n", error);
324 }
325 }
326// XRenderCompositeString8
327 *(void **) (&XRenderCompositeString8_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCompositeString8");
328 if (verbose) {
329 error = dlerror();
330 if (error != NULL) {
331 fprintf(stderr, "%s\n", error);
332 }
333 }
334// XRenderCompositeString16
335 *(void **) (&XRenderCompositeString16_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCompositeString16");
336 if (verbose) {
337 error = dlerror();
338 if (error != NULL) {
339 fprintf(stderr, "%s\n", error);
340 }
341 }
342// XRenderCompositeString32
343 *(void **) (&XRenderCompositeString32_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCompositeString32");
344 if (verbose) {
345 error = dlerror();
346 if (error != NULL) {
347 fprintf(stderr, "%s\n", error);
348 }
349 }
350// XRenderCompositeText8
351 *(void **) (&XRenderCompositeText8_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCompositeText8");
352 if (verbose) {
353 error = dlerror();
354 if (error != NULL) {
355 fprintf(stderr, "%s\n", error);
356 }
357 }
358// XRenderCompositeText16
359 *(void **) (&XRenderCompositeText16_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCompositeText16");
360 if (verbose) {
361 error = dlerror();
362 if (error != NULL) {
363 fprintf(stderr, "%s\n", error);
364 }
365 }
366// XRenderCompositeText32
367 *(void **) (&XRenderCompositeText32_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCompositeText32");
368 if (verbose) {
369 error = dlerror();
370 if (error != NULL) {
371 fprintf(stderr, "%s\n", error);
372 }
373 }
374// XRenderFillRectangle
375 *(void **) (&XRenderFillRectangle_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderFillRectangle");
376 if (verbose) {
377 error = dlerror();
378 if (error != NULL) {
379 fprintf(stderr, "%s\n", error);
380 }
381 }
382// XRenderFillRectangles
383 *(void **) (&XRenderFillRectangles_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderFillRectangles");
384 if (verbose) {
385 error = dlerror();
386 if (error != NULL) {
387 fprintf(stderr, "%s\n", error);
388 }
389 }
390// XRenderCompositeTrapezoids
391 *(void **) (&XRenderCompositeTrapezoids_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCompositeTrapezoids");
392 if (verbose) {
393 error = dlerror();
394 if (error != NULL) {
395 fprintf(stderr, "%s\n", error);
396 }
397 }
398// XRenderCompositeTriangles
399 *(void **) (&XRenderCompositeTriangles_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCompositeTriangles");
400 if (verbose) {
401 error = dlerror();
402 if (error != NULL) {
403 fprintf(stderr, "%s\n", error);
404 }
405 }
406// XRenderCompositeTriStrip
407 *(void **) (&XRenderCompositeTriStrip_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCompositeTriStrip");
408 if (verbose) {
409 error = dlerror();
410 if (error != NULL) {
411 fprintf(stderr, "%s\n", error);
412 }
413 }
414// XRenderCompositeTriFan
415 *(void **) (&XRenderCompositeTriFan_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCompositeTriFan");
416 if (verbose) {
417 error = dlerror();
418 if (error != NULL) {
419 fprintf(stderr, "%s\n", error);
420 }
421 }
422// XRenderCompositeDoublePoly
423 *(void **) (&XRenderCompositeDoublePoly_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCompositeDoublePoly");
424 if (verbose) {
425 error = dlerror();
426 if (error != NULL) {
427 fprintf(stderr, "%s\n", error);
428 }
429 }
430// XRenderParseColor
431 *(void **) (&XRenderParseColor_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderParseColor");
432 if (verbose) {
433 error = dlerror();
434 if (error != NULL) {
435 fprintf(stderr, "%s\n", error);
436 }
437 }
438// XRenderCreateCursor
439 *(void **) (&XRenderCreateCursor_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCreateCursor");
440 if (verbose) {
441 error = dlerror();
442 if (error != NULL) {
443 fprintf(stderr, "%s\n", error);
444 }
445 }
446// XRenderQueryFilters
447 *(void **) (&XRenderQueryFilters_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderQueryFilters");
448 if (verbose) {
449 error = dlerror();
450 if (error != NULL) {
451 fprintf(stderr, "%s\n", error);
452 }
453 }
454// XRenderSetPictureFilter
455 *(void **) (&XRenderSetPictureFilter_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderSetPictureFilter");
456 if (verbose) {
457 error = dlerror();
458 if (error != NULL) {
459 fprintf(stderr, "%s\n", error);
460 }
461 }
462// XRenderCreateAnimCursor
463 *(void **) (&XRenderCreateAnimCursor_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCreateAnimCursor");
464 if (verbose) {
465 error = dlerror();
466 if (error != NULL) {
467 fprintf(stderr, "%s\n", error);
468 }
469 }
470// XRenderAddTraps
471 *(void **) (&XRenderAddTraps_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderAddTraps");
472 if (verbose) {
473 error = dlerror();
474 if (error != NULL) {
475 fprintf(stderr, "%s\n", error);
476 }
477 }
478// XRenderCreateSolidFill
479 *(void **) (&XRenderCreateSolidFill_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCreateSolidFill");
480 if (verbose) {
481 error = dlerror();
482 if (error != NULL) {
483 fprintf(stderr, "%s\n", error);
484 }
485 }
486// XRenderCreateLinearGradient
487 *(void **) (&XRenderCreateLinearGradient_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCreateLinearGradient");
488 if (verbose) {
489 error = dlerror();
490 if (error != NULL) {
491 fprintf(stderr, "%s\n", error);
492 }
493 }
494// XRenderCreateRadialGradient
495 *(void **) (&XRenderCreateRadialGradient_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCreateRadialGradient");
496 if (verbose) {
497 error = dlerror();
498 if (error != NULL) {
499 fprintf(stderr, "%s\n", error);
500 }
501 }
502// XRenderCreateConicalGradient
503 *(void **) (&XRenderCreateConicalGradient_dylibloader_wrapper_xrender) = dlsym(handle, "XRenderCreateConicalGradient");
504 if (verbose) {
505 error = dlerror();
506 if (error != NULL) {
507 fprintf(stderr, "%s\n", error);
508 }
509 }
510return 0;
511}
512