1#ifndef DYLIBLOAD_WRAPPER_XCURSOR
2#define DYLIBLOAD_WRAPPER_XCURSOR
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:09:53
6// flags: generate-wrapper.py --include ./thirdparty/linuxbsd_headers/X11/Xcursor/Xcursor.h --sys-include "thirdparty/linuxbsd_headers/X11/Xcursor/Xcursor.h" --soname libXcursor.so.1 --init-name xcursor --output-header ./platform/linuxbsd/x11/dynwrappers/xcursor-so_wrap.h --output-implementation ./platform/linuxbsd/x11/dynwrappers/xcursor-so_wrap.c
7//
8// NOTE: Generated from Xcursor 1.2.0.
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 libXcursor.so.1, were removed.
12#include <stdint.h>
13
14#define XcursorImageCreate XcursorImageCreate_dylibloader_orig_xcursor
15#define XcursorImageDestroy XcursorImageDestroy_dylibloader_orig_xcursor
16#define XcursorImagesCreate XcursorImagesCreate_dylibloader_orig_xcursor
17#define XcursorImagesDestroy XcursorImagesDestroy_dylibloader_orig_xcursor
18#define XcursorImagesSetName XcursorImagesSetName_dylibloader_orig_xcursor
19#define XcursorCursorsCreate XcursorCursorsCreate_dylibloader_orig_xcursor
20#define XcursorCursorsDestroy XcursorCursorsDestroy_dylibloader_orig_xcursor
21#define XcursorAnimateCreate XcursorAnimateCreate_dylibloader_orig_xcursor
22#define XcursorAnimateDestroy XcursorAnimateDestroy_dylibloader_orig_xcursor
23#define XcursorAnimateNext XcursorAnimateNext_dylibloader_orig_xcursor
24#define XcursorCommentCreate XcursorCommentCreate_dylibloader_orig_xcursor
25#define XcursorCommentDestroy XcursorCommentDestroy_dylibloader_orig_xcursor
26#define XcursorCommentsCreate XcursorCommentsCreate_dylibloader_orig_xcursor
27#define XcursorCommentsDestroy XcursorCommentsDestroy_dylibloader_orig_xcursor
28#define XcursorXcFileLoadImage XcursorXcFileLoadImage_dylibloader_orig_xcursor
29#define XcursorXcFileLoadImages XcursorXcFileLoadImages_dylibloader_orig_xcursor
30#define XcursorXcFileLoadAllImages XcursorXcFileLoadAllImages_dylibloader_orig_xcursor
31#define XcursorXcFileLoad XcursorXcFileLoad_dylibloader_orig_xcursor
32#define XcursorXcFileSave XcursorXcFileSave_dylibloader_orig_xcursor
33#define XcursorFileLoadImage XcursorFileLoadImage_dylibloader_orig_xcursor
34#define XcursorFileLoadImages XcursorFileLoadImages_dylibloader_orig_xcursor
35#define XcursorFileLoadAllImages XcursorFileLoadAllImages_dylibloader_orig_xcursor
36#define XcursorFileLoad XcursorFileLoad_dylibloader_orig_xcursor
37#define XcursorFileSaveImages XcursorFileSaveImages_dylibloader_orig_xcursor
38#define XcursorFileSave XcursorFileSave_dylibloader_orig_xcursor
39#define XcursorFilenameLoadImage XcursorFilenameLoadImage_dylibloader_orig_xcursor
40#define XcursorFilenameLoadImages XcursorFilenameLoadImages_dylibloader_orig_xcursor
41#define XcursorFilenameLoadAllImages XcursorFilenameLoadAllImages_dylibloader_orig_xcursor
42#define XcursorFilenameLoad XcursorFilenameLoad_dylibloader_orig_xcursor
43#define XcursorFilenameSaveImages XcursorFilenameSaveImages_dylibloader_orig_xcursor
44#define XcursorFilenameSave XcursorFilenameSave_dylibloader_orig_xcursor
45#define XcursorLibraryLoadImage XcursorLibraryLoadImage_dylibloader_orig_xcursor
46#define XcursorLibraryLoadImages XcursorLibraryLoadImages_dylibloader_orig_xcursor
47#define XcursorLibraryPath XcursorLibraryPath_dylibloader_orig_xcursor
48#define XcursorLibraryShape XcursorLibraryShape_dylibloader_orig_xcursor
49#define XcursorImageLoadCursor XcursorImageLoadCursor_dylibloader_orig_xcursor
50#define XcursorImagesLoadCursors XcursorImagesLoadCursors_dylibloader_orig_xcursor
51#define XcursorImagesLoadCursor XcursorImagesLoadCursor_dylibloader_orig_xcursor
52#define XcursorFilenameLoadCursor XcursorFilenameLoadCursor_dylibloader_orig_xcursor
53#define XcursorFilenameLoadCursors XcursorFilenameLoadCursors_dylibloader_orig_xcursor
54#define XcursorLibraryLoadCursor XcursorLibraryLoadCursor_dylibloader_orig_xcursor
55#define XcursorLibraryLoadCursors XcursorLibraryLoadCursors_dylibloader_orig_xcursor
56#define XcursorShapeLoadImage XcursorShapeLoadImage_dylibloader_orig_xcursor
57#define XcursorShapeLoadImages XcursorShapeLoadImages_dylibloader_orig_xcursor
58#define XcursorShapeLoadCursor XcursorShapeLoadCursor_dylibloader_orig_xcursor
59#define XcursorShapeLoadCursors XcursorShapeLoadCursors_dylibloader_orig_xcursor
60#define XcursorTryShapeCursor XcursorTryShapeCursor_dylibloader_orig_xcursor
61#define XcursorNoticeCreateBitmap XcursorNoticeCreateBitmap_dylibloader_orig_xcursor
62#define XcursorNoticePutBitmap XcursorNoticePutBitmap_dylibloader_orig_xcursor
63#define XcursorTryShapeBitmapCursor XcursorTryShapeBitmapCursor_dylibloader_orig_xcursor
64#define XcursorImageHash XcursorImageHash_dylibloader_orig_xcursor
65#define XcursorSupportsARGB XcursorSupportsARGB_dylibloader_orig_xcursor
66#define XcursorSupportsAnim XcursorSupportsAnim_dylibloader_orig_xcursor
67#define XcursorSetDefaultSize XcursorSetDefaultSize_dylibloader_orig_xcursor
68#define XcursorGetDefaultSize XcursorGetDefaultSize_dylibloader_orig_xcursor
69#define XcursorSetTheme XcursorSetTheme_dylibloader_orig_xcursor
70#define XcursorGetTheme XcursorGetTheme_dylibloader_orig_xcursor
71#define XcursorGetThemeCore XcursorGetThemeCore_dylibloader_orig_xcursor
72#define XcursorSetThemeCore XcursorSetThemeCore_dylibloader_orig_xcursor
73#include "thirdparty/linuxbsd_headers/X11/Xcursor/Xcursor.h"
74#undef XcursorImageCreate
75#undef XcursorImageDestroy
76#undef XcursorImagesCreate
77#undef XcursorImagesDestroy
78#undef XcursorImagesSetName
79#undef XcursorCursorsCreate
80#undef XcursorCursorsDestroy
81#undef XcursorAnimateCreate
82#undef XcursorAnimateDestroy
83#undef XcursorAnimateNext
84#undef XcursorCommentCreate
85#undef XcursorCommentDestroy
86#undef XcursorCommentsCreate
87#undef XcursorCommentsDestroy
88#undef XcursorXcFileLoadImage
89#undef XcursorXcFileLoadImages
90#undef XcursorXcFileLoadAllImages
91#undef XcursorXcFileLoad
92#undef XcursorXcFileSave
93#undef XcursorFileLoadImage
94#undef XcursorFileLoadImages
95#undef XcursorFileLoadAllImages
96#undef XcursorFileLoad
97#undef XcursorFileSaveImages
98#undef XcursorFileSave
99#undef XcursorFilenameLoadImage
100#undef XcursorFilenameLoadImages
101#undef XcursorFilenameLoadAllImages
102#undef XcursorFilenameLoad
103#undef XcursorFilenameSaveImages
104#undef XcursorFilenameSave
105#undef XcursorLibraryLoadImage
106#undef XcursorLibraryLoadImages
107#undef XcursorLibraryPath
108#undef XcursorLibraryShape
109#undef XcursorImageLoadCursor
110#undef XcursorImagesLoadCursors
111#undef XcursorImagesLoadCursor
112#undef XcursorFilenameLoadCursor
113#undef XcursorFilenameLoadCursors
114#undef XcursorLibraryLoadCursor
115#undef XcursorLibraryLoadCursors
116#undef XcursorShapeLoadImage
117#undef XcursorShapeLoadImages
118#undef XcursorShapeLoadCursor
119#undef XcursorShapeLoadCursors
120#undef XcursorTryShapeCursor
121#undef XcursorNoticeCreateBitmap
122#undef XcursorNoticePutBitmap
123#undef XcursorTryShapeBitmapCursor
124#undef XcursorImageHash
125#undef XcursorSupportsARGB
126#undef XcursorSupportsAnim
127#undef XcursorSetDefaultSize
128#undef XcursorGetDefaultSize
129#undef XcursorSetTheme
130#undef XcursorGetTheme
131#undef XcursorGetThemeCore
132#undef XcursorSetThemeCore
133#ifdef __cplusplus
134extern "C" {
135#endif
136#define XcursorImageCreate XcursorImageCreate_dylibloader_wrapper_xcursor
137#define XcursorImageDestroy XcursorImageDestroy_dylibloader_wrapper_xcursor
138#define XcursorImagesCreate XcursorImagesCreate_dylibloader_wrapper_xcursor
139#define XcursorImagesDestroy XcursorImagesDestroy_dylibloader_wrapper_xcursor
140#define XcursorImagesSetName XcursorImagesSetName_dylibloader_wrapper_xcursor
141#define XcursorCursorsCreate XcursorCursorsCreate_dylibloader_wrapper_xcursor
142#define XcursorCursorsDestroy XcursorCursorsDestroy_dylibloader_wrapper_xcursor
143#define XcursorAnimateCreate XcursorAnimateCreate_dylibloader_wrapper_xcursor
144#define XcursorAnimateDestroy XcursorAnimateDestroy_dylibloader_wrapper_xcursor
145#define XcursorAnimateNext XcursorAnimateNext_dylibloader_wrapper_xcursor
146#define XcursorCommentCreate XcursorCommentCreate_dylibloader_wrapper_xcursor
147#define XcursorCommentDestroy XcursorCommentDestroy_dylibloader_wrapper_xcursor
148#define XcursorCommentsCreate XcursorCommentsCreate_dylibloader_wrapper_xcursor
149#define XcursorCommentsDestroy XcursorCommentsDestroy_dylibloader_wrapper_xcursor
150#define XcursorXcFileLoadImage XcursorXcFileLoadImage_dylibloader_wrapper_xcursor
151#define XcursorXcFileLoadImages XcursorXcFileLoadImages_dylibloader_wrapper_xcursor
152#define XcursorXcFileLoadAllImages XcursorXcFileLoadAllImages_dylibloader_wrapper_xcursor
153#define XcursorXcFileLoad XcursorXcFileLoad_dylibloader_wrapper_xcursor
154#define XcursorXcFileSave XcursorXcFileSave_dylibloader_wrapper_xcursor
155#define XcursorFileLoadImage XcursorFileLoadImage_dylibloader_wrapper_xcursor
156#define XcursorFileLoadImages XcursorFileLoadImages_dylibloader_wrapper_xcursor
157#define XcursorFileLoadAllImages XcursorFileLoadAllImages_dylibloader_wrapper_xcursor
158#define XcursorFileLoad XcursorFileLoad_dylibloader_wrapper_xcursor
159#define XcursorFileSaveImages XcursorFileSaveImages_dylibloader_wrapper_xcursor
160#define XcursorFileSave XcursorFileSave_dylibloader_wrapper_xcursor
161#define XcursorFilenameLoadImage XcursorFilenameLoadImage_dylibloader_wrapper_xcursor
162#define XcursorFilenameLoadImages XcursorFilenameLoadImages_dylibloader_wrapper_xcursor
163#define XcursorFilenameLoadAllImages XcursorFilenameLoadAllImages_dylibloader_wrapper_xcursor
164#define XcursorFilenameLoad XcursorFilenameLoad_dylibloader_wrapper_xcursor
165#define XcursorFilenameSaveImages XcursorFilenameSaveImages_dylibloader_wrapper_xcursor
166#define XcursorFilenameSave XcursorFilenameSave_dylibloader_wrapper_xcursor
167#define XcursorLibraryLoadImage XcursorLibraryLoadImage_dylibloader_wrapper_xcursor
168#define XcursorLibraryLoadImages XcursorLibraryLoadImages_dylibloader_wrapper_xcursor
169#define XcursorLibraryPath XcursorLibraryPath_dylibloader_wrapper_xcursor
170#define XcursorLibraryShape XcursorLibraryShape_dylibloader_wrapper_xcursor
171#define XcursorImageLoadCursor XcursorImageLoadCursor_dylibloader_wrapper_xcursor
172#define XcursorImagesLoadCursors XcursorImagesLoadCursors_dylibloader_wrapper_xcursor
173#define XcursorImagesLoadCursor XcursorImagesLoadCursor_dylibloader_wrapper_xcursor
174#define XcursorFilenameLoadCursor XcursorFilenameLoadCursor_dylibloader_wrapper_xcursor
175#define XcursorFilenameLoadCursors XcursorFilenameLoadCursors_dylibloader_wrapper_xcursor
176#define XcursorLibraryLoadCursor XcursorLibraryLoadCursor_dylibloader_wrapper_xcursor
177#define XcursorLibraryLoadCursors XcursorLibraryLoadCursors_dylibloader_wrapper_xcursor
178#define XcursorShapeLoadImage XcursorShapeLoadImage_dylibloader_wrapper_xcursor
179#define XcursorShapeLoadImages XcursorShapeLoadImages_dylibloader_wrapper_xcursor
180#define XcursorShapeLoadCursor XcursorShapeLoadCursor_dylibloader_wrapper_xcursor
181#define XcursorShapeLoadCursors XcursorShapeLoadCursors_dylibloader_wrapper_xcursor
182#define XcursorTryShapeCursor XcursorTryShapeCursor_dylibloader_wrapper_xcursor
183#define XcursorNoticeCreateBitmap XcursorNoticeCreateBitmap_dylibloader_wrapper_xcursor
184#define XcursorNoticePutBitmap XcursorNoticePutBitmap_dylibloader_wrapper_xcursor
185#define XcursorTryShapeBitmapCursor XcursorTryShapeBitmapCursor_dylibloader_wrapper_xcursor
186#define XcursorImageHash XcursorImageHash_dylibloader_wrapper_xcursor
187#define XcursorSupportsARGB XcursorSupportsARGB_dylibloader_wrapper_xcursor
188#define XcursorSupportsAnim XcursorSupportsAnim_dylibloader_wrapper_xcursor
189#define XcursorSetDefaultSize XcursorSetDefaultSize_dylibloader_wrapper_xcursor
190#define XcursorGetDefaultSize XcursorGetDefaultSize_dylibloader_wrapper_xcursor
191#define XcursorSetTheme XcursorSetTheme_dylibloader_wrapper_xcursor
192#define XcursorGetTheme XcursorGetTheme_dylibloader_wrapper_xcursor
193#define XcursorGetThemeCore XcursorGetThemeCore_dylibloader_wrapper_xcursor
194#define XcursorSetThemeCore XcursorSetThemeCore_dylibloader_wrapper_xcursor
195extern XcursorImage* (*XcursorImageCreate_dylibloader_wrapper_xcursor)( int, int);
196extern void (*XcursorImageDestroy_dylibloader_wrapper_xcursor)( XcursorImage*);
197extern XcursorImages* (*XcursorImagesCreate_dylibloader_wrapper_xcursor)( int);
198extern void (*XcursorImagesDestroy_dylibloader_wrapper_xcursor)( XcursorImages*);
199extern void (*XcursorImagesSetName_dylibloader_wrapper_xcursor)( XcursorImages*,const char*);
200extern XcursorCursors* (*XcursorCursorsCreate_dylibloader_wrapper_xcursor)( Display*, int);
201extern void (*XcursorCursorsDestroy_dylibloader_wrapper_xcursor)( XcursorCursors*);
202extern XcursorAnimate* (*XcursorAnimateCreate_dylibloader_wrapper_xcursor)( XcursorCursors*);
203extern void (*XcursorAnimateDestroy_dylibloader_wrapper_xcursor)( XcursorAnimate*);
204extern Cursor (*XcursorAnimateNext_dylibloader_wrapper_xcursor)( XcursorAnimate*);
205extern XcursorComment* (*XcursorCommentCreate_dylibloader_wrapper_xcursor)( XcursorUInt, int);
206extern void (*XcursorCommentDestroy_dylibloader_wrapper_xcursor)( XcursorComment*);
207extern XcursorComments* (*XcursorCommentsCreate_dylibloader_wrapper_xcursor)( int);
208extern void (*XcursorCommentsDestroy_dylibloader_wrapper_xcursor)( XcursorComments*);
209extern XcursorImage* (*XcursorXcFileLoadImage_dylibloader_wrapper_xcursor)( XcursorFile*, int);
210extern XcursorImages* (*XcursorXcFileLoadImages_dylibloader_wrapper_xcursor)( XcursorFile*, int);
211extern XcursorImages* (*XcursorXcFileLoadAllImages_dylibloader_wrapper_xcursor)( XcursorFile*);
212extern XcursorBool (*XcursorXcFileLoad_dylibloader_wrapper_xcursor)( XcursorFile*, XcursorComments**, XcursorImages**);
213extern XcursorBool (*XcursorXcFileSave_dylibloader_wrapper_xcursor)( XcursorFile*,const XcursorComments*,const XcursorImages*);
214extern XcursorImage* (*XcursorFileLoadImage_dylibloader_wrapper_xcursor)( FILE*, int);
215extern XcursorImages* (*XcursorFileLoadImages_dylibloader_wrapper_xcursor)( FILE*, int);
216extern XcursorImages* (*XcursorFileLoadAllImages_dylibloader_wrapper_xcursor)( FILE*);
217extern XcursorBool (*XcursorFileLoad_dylibloader_wrapper_xcursor)( FILE*, XcursorComments**, XcursorImages**);
218extern XcursorBool (*XcursorFileSaveImages_dylibloader_wrapper_xcursor)( FILE*,const XcursorImages*);
219extern XcursorBool (*XcursorFileSave_dylibloader_wrapper_xcursor)( FILE*,const XcursorComments*,const XcursorImages*);
220extern XcursorImage* (*XcursorFilenameLoadImage_dylibloader_wrapper_xcursor)(const char*, int);
221extern XcursorImages* (*XcursorFilenameLoadImages_dylibloader_wrapper_xcursor)(const char*, int);
222extern XcursorImages* (*XcursorFilenameLoadAllImages_dylibloader_wrapper_xcursor)(const char*);
223extern XcursorBool (*XcursorFilenameLoad_dylibloader_wrapper_xcursor)(const char*, XcursorComments**, XcursorImages**);
224extern XcursorBool (*XcursorFilenameSaveImages_dylibloader_wrapper_xcursor)(const char*,const XcursorImages*);
225extern XcursorBool (*XcursorFilenameSave_dylibloader_wrapper_xcursor)(const char*,const XcursorComments*,const XcursorImages*);
226extern XcursorImage* (*XcursorLibraryLoadImage_dylibloader_wrapper_xcursor)(const char*,const char*, int);
227extern XcursorImages* (*XcursorLibraryLoadImages_dylibloader_wrapper_xcursor)(const char*,const char*, int);
228extern const char* (*XcursorLibraryPath_dylibloader_wrapper_xcursor)( void);
229extern int (*XcursorLibraryShape_dylibloader_wrapper_xcursor)(const char*);
230extern Cursor (*XcursorImageLoadCursor_dylibloader_wrapper_xcursor)( Display*,const XcursorImage*);
231extern XcursorCursors* (*XcursorImagesLoadCursors_dylibloader_wrapper_xcursor)( Display*,const XcursorImages*);
232extern Cursor (*XcursorImagesLoadCursor_dylibloader_wrapper_xcursor)( Display*,const XcursorImages*);
233extern Cursor (*XcursorFilenameLoadCursor_dylibloader_wrapper_xcursor)( Display*,const char*);
234extern XcursorCursors* (*XcursorFilenameLoadCursors_dylibloader_wrapper_xcursor)( Display*,const char*);
235extern Cursor (*XcursorLibraryLoadCursor_dylibloader_wrapper_xcursor)( Display*,const char*);
236extern XcursorCursors* (*XcursorLibraryLoadCursors_dylibloader_wrapper_xcursor)( Display*,const char*);
237extern XcursorImage* (*XcursorShapeLoadImage_dylibloader_wrapper_xcursor)( unsigned int,const char*, int);
238extern XcursorImages* (*XcursorShapeLoadImages_dylibloader_wrapper_xcursor)( unsigned int,const char*, int);
239extern Cursor (*XcursorShapeLoadCursor_dylibloader_wrapper_xcursor)( Display*, unsigned int);
240extern XcursorCursors* (*XcursorShapeLoadCursors_dylibloader_wrapper_xcursor)( Display*, unsigned int);
241extern Cursor (*XcursorTryShapeCursor_dylibloader_wrapper_xcursor)( Display*, Font, Font, unsigned int, unsigned int,const XColor*,const XColor*);
242extern void (*XcursorNoticeCreateBitmap_dylibloader_wrapper_xcursor)( Display*, Pixmap, unsigned int, unsigned int);
243extern void (*XcursorNoticePutBitmap_dylibloader_wrapper_xcursor)( Display*, Drawable, XImage*);
244extern Cursor (*XcursorTryShapeBitmapCursor_dylibloader_wrapper_xcursor)( Display*, Pixmap, Pixmap, XColor*, XColor*, unsigned int, unsigned int);
245extern void (*XcursorImageHash_dylibloader_wrapper_xcursor)( XImage*, unsigned char [16]);
246extern XcursorBool (*XcursorSupportsARGB_dylibloader_wrapper_xcursor)( Display*);
247extern XcursorBool (*XcursorSupportsAnim_dylibloader_wrapper_xcursor)( Display*);
248extern XcursorBool (*XcursorSetDefaultSize_dylibloader_wrapper_xcursor)( Display*, int);
249extern int (*XcursorGetDefaultSize_dylibloader_wrapper_xcursor)( Display*);
250extern XcursorBool (*XcursorSetTheme_dylibloader_wrapper_xcursor)( Display*,const char*);
251extern char* (*XcursorGetTheme_dylibloader_wrapper_xcursor)( Display*);
252extern XcursorBool (*XcursorGetThemeCore_dylibloader_wrapper_xcursor)( Display*);
253extern XcursorBool (*XcursorSetThemeCore_dylibloader_wrapper_xcursor)( Display*, XcursorBool);
254int initialize_xcursor(int verbose);
255#ifdef __cplusplus
256}
257#endif
258#endif
259