1 | #ifndef DYLIBLOAD_WRAPPER_XEXT |
2 | #define DYLIBLOAD_WRAPPER_XEXT |
3 | // This file is generated. Do not edit! |
4 | // see https://github.com/hpvb/dynload-wrapper for details |
5 | // generated by generate-wrapper.py 0.3 on 2023-01-23 15:11:29 |
6 | // flags: generate-wrapper.py --sys-include "thirdparty/linuxbsd_headers/X11/extensions/Xext.h" --include ./thirdparty/linuxbsd_headers/X11/extensions/shape.h --sys-include "thirdparty/linuxbsd_headers/X11/extensions/shape.h" --soname libXext.so.6 --init-name xext --output-header ./platform/linuxbsd/x11/dynwrappers/xext-so_wrap.h --output-implementation ./platform/linuxbsd/x11/dynwrappers/xext-so_wrap.c |
7 | // |
8 | // NOTE: Generated from Xext 1.3.5. |
9 | // This has been handpatched to workaround some issues with the generator that |
10 | // will be eventually fixed. In this case, non-existent symbols inherited from |
11 | // libX11, but absent in libXext.so.6, were removed and an include needed for |
12 | // proper parsing was added (this had also to be temporarily added to the |
13 | // original header, as dynload-wrapper would complain otherwise) |
14 | #include <stdint.h> |
15 | |
16 | // HANDPATCH: Needed for a successful compilation. |
17 | #include "thirdparty/linuxbsd_headers/X11/Xlib.h" |
18 | |
19 | #define XShapeQueryExtension XShapeQueryExtension_dylibloader_orig_xext |
20 | #define XShapeQueryVersion XShapeQueryVersion_dylibloader_orig_xext |
21 | #define XShapeCombineRegion XShapeCombineRegion_dylibloader_orig_xext |
22 | #define XShapeCombineRectangles XShapeCombineRectangles_dylibloader_orig_xext |
23 | #define XShapeCombineMask XShapeCombineMask_dylibloader_orig_xext |
24 | #define XShapeCombineShape XShapeCombineShape_dylibloader_orig_xext |
25 | #define XShapeOffsetShape XShapeOffsetShape_dylibloader_orig_xext |
26 | #define XShapeQueryExtents XShapeQueryExtents_dylibloader_orig_xext |
27 | #define XShapeSelectInput XShapeSelectInput_dylibloader_orig_xext |
28 | #define XShapeInputSelected XShapeInputSelected_dylibloader_orig_xext |
29 | #define XShapeGetRectangles XShapeGetRectangles_dylibloader_orig_xext |
30 | #include "thirdparty/linuxbsd_headers/X11/extensions/Xext.h" |
31 | #include "thirdparty/linuxbsd_headers/X11/extensions/shape.h" |
32 | #undef XShapeQueryExtension |
33 | #undef XShapeQueryVersion |
34 | #undef XShapeCombineRegion |
35 | #undef XShapeCombineRectangles |
36 | #undef XShapeCombineMask |
37 | #undef XShapeCombineShape |
38 | #undef XShapeOffsetShape |
39 | #undef XShapeQueryExtents |
40 | #undef XShapeSelectInput |
41 | #undef XShapeInputSelected |
42 | #undef XShapeGetRectangles |
43 | #ifdef __cplusplus |
44 | extern "C" { |
45 | #endif |
46 | #define XShapeQueryExtension XShapeQueryExtension_dylibloader_wrapper_xext |
47 | #define XShapeQueryVersion XShapeQueryVersion_dylibloader_wrapper_xext |
48 | #define XShapeCombineRegion XShapeCombineRegion_dylibloader_wrapper_xext |
49 | #define XShapeCombineRectangles XShapeCombineRectangles_dylibloader_wrapper_xext |
50 | #define XShapeCombineMask XShapeCombineMask_dylibloader_wrapper_xext |
51 | #define XShapeCombineShape XShapeCombineShape_dylibloader_wrapper_xext |
52 | #define XShapeOffsetShape XShapeOffsetShape_dylibloader_wrapper_xext |
53 | #define XShapeQueryExtents XShapeQueryExtents_dylibloader_wrapper_xext |
54 | #define XShapeSelectInput XShapeSelectInput_dylibloader_wrapper_xext |
55 | #define XShapeInputSelected XShapeInputSelected_dylibloader_wrapper_xext |
56 | #define XShapeGetRectangles XShapeGetRectangles_dylibloader_wrapper_xext |
57 | extern int (*XShapeQueryExtension_dylibloader_wrapper_xext)( Display*, int*, int*); |
58 | extern int (*XShapeQueryVersion_dylibloader_wrapper_xext)( Display*, int*, int*); |
59 | extern void (*XShapeCombineRegion_dylibloader_wrapper_xext)( Display*, Window, int, int, int, Region, int); |
60 | extern void (*XShapeCombineRectangles_dylibloader_wrapper_xext)( Display*, Window, int, int, int, XRectangle*, int, int, int); |
61 | extern void (*XShapeCombineMask_dylibloader_wrapper_xext)( Display*, Window, int, int, int, Pixmap, int); |
62 | extern void (*XShapeCombineShape_dylibloader_wrapper_xext)( Display*, Window, int, int, int, Window, int, int); |
63 | extern void (*XShapeOffsetShape_dylibloader_wrapper_xext)( Display*, Window, int, int, int); |
64 | extern int (*XShapeQueryExtents_dylibloader_wrapper_xext)( Display*, Window, int*, int*, int*, unsigned int*, unsigned int*, int*, int*, int*, unsigned int*, unsigned int*); |
65 | extern void (*XShapeSelectInput_dylibloader_wrapper_xext)( Display*, Window, unsigned long); |
66 | extern unsigned long (*XShapeInputSelected_dylibloader_wrapper_xext)( Display*, Window); |
67 | extern XRectangle* (*XShapeGetRectangles_dylibloader_wrapper_xext)( Display*, Window, int, int*, int*); |
68 | int initialize_xext(int verbose); |
69 | #ifdef __cplusplus |
70 | } |
71 | #endif |
72 | #endif |
73 | |