#ifndef DYLIBLOAD_WRAPPER_XCURSOR #define DYLIBLOAD_WRAPPER_XCURSOR // This file is generated. Do not edit! // see https://github.com/hpvb/dynload-wrapper for details // generated by ./generate-wrapper.py 0.3 on 2022-12-02 12:48:06 // flags: ./generate-wrapper.py --include /usr/include/X11/Xcursor/Xcursor.h --sys-include --soname libXcursor.so.1 --init-name xcursor --output-header xcursor-so_wrap.h --output-implementation xcursor-so_wrap.c // // NOTE: Generated from Xcursor 1.2.0. // This has been handpatched to workaround some issues with the generator that // will be eventually fixed. In this case, non-existent symbols inherited from // libX11, but absent in libXcursor.so.1, were removed. #include #define XcursorImageCreate XcursorImageCreate_dylibloader_orig_xcursor #define XcursorImageDestroy XcursorImageDestroy_dylibloader_orig_xcursor #define XcursorImagesCreate XcursorImagesCreate_dylibloader_orig_xcursor #define XcursorImagesDestroy XcursorImagesDestroy_dylibloader_orig_xcursor #define XcursorImagesSetName XcursorImagesSetName_dylibloader_orig_xcursor #define XcursorCursorsCreate XcursorCursorsCreate_dylibloader_orig_xcursor #define XcursorCursorsDestroy XcursorCursorsDestroy_dylibloader_orig_xcursor #define XcursorAnimateCreate XcursorAnimateCreate_dylibloader_orig_xcursor #define XcursorAnimateDestroy XcursorAnimateDestroy_dylibloader_orig_xcursor #define XcursorAnimateNext XcursorAnimateNext_dylibloader_orig_xcursor #define XcursorCommentCreate XcursorCommentCreate_dylibloader_orig_xcursor #define XcursorCommentDestroy XcursorCommentDestroy_dylibloader_orig_xcursor #define XcursorCommentsCreate XcursorCommentsCreate_dylibloader_orig_xcursor #define XcursorCommentsDestroy XcursorCommentsDestroy_dylibloader_orig_xcursor #define XcursorXcFileLoadImage XcursorXcFileLoadImage_dylibloader_orig_xcursor #define XcursorXcFileLoadImages XcursorXcFileLoadImages_dylibloader_orig_xcursor #define XcursorXcFileLoadAllImages XcursorXcFileLoadAllImages_dylibloader_orig_xcursor #define XcursorXcFileLoad XcursorXcFileLoad_dylibloader_orig_xcursor #define XcursorXcFileSave XcursorXcFileSave_dylibloader_orig_xcursor #define XcursorFileLoadImage XcursorFileLoadImage_dylibloader_orig_xcursor #define XcursorFileLoadImages XcursorFileLoadImages_dylibloader_orig_xcursor #define XcursorFileLoadAllImages XcursorFileLoadAllImages_dylibloader_orig_xcursor #define XcursorFileLoad XcursorFileLoad_dylibloader_orig_xcursor #define XcursorFileSaveImages XcursorFileSaveImages_dylibloader_orig_xcursor #define XcursorFileSave XcursorFileSave_dylibloader_orig_xcursor #define XcursorFilenameLoadImage XcursorFilenameLoadImage_dylibloader_orig_xcursor #define XcursorFilenameLoadImages XcursorFilenameLoadImages_dylibloader_orig_xcursor #define XcursorFilenameLoadAllImages XcursorFilenameLoadAllImages_dylibloader_orig_xcursor #define XcursorFilenameLoad XcursorFilenameLoad_dylibloader_orig_xcursor #define XcursorFilenameSaveImages XcursorFilenameSaveImages_dylibloader_orig_xcursor #define XcursorFilenameSave XcursorFilenameSave_dylibloader_orig_xcursor #define XcursorLibraryLoadImage XcursorLibraryLoadImage_dylibloader_orig_xcursor #define XcursorLibraryLoadImages XcursorLibraryLoadImages_dylibloader_orig_xcursor #define XcursorLibraryPath XcursorLibraryPath_dylibloader_orig_xcursor #define XcursorLibraryShape XcursorLibraryShape_dylibloader_orig_xcursor #define XcursorImageLoadCursor XcursorImageLoadCursor_dylibloader_orig_xcursor #define XcursorImagesLoadCursors XcursorImagesLoadCursors_dylibloader_orig_xcursor #define XcursorImagesLoadCursor XcursorImagesLoadCursor_dylibloader_orig_xcursor #define XcursorFilenameLoadCursor XcursorFilenameLoadCursor_dylibloader_orig_xcursor #define XcursorFilenameLoadCursors XcursorFilenameLoadCursors_dylibloader_orig_xcursor #define XcursorLibraryLoadCursor XcursorLibraryLoadCursor_dylibloader_orig_xcursor #define XcursorLibraryLoadCursors XcursorLibraryLoadCursors_dylibloader_orig_xcursor #define XcursorShapeLoadImage XcursorShapeLoadImage_dylibloader_orig_xcursor #define XcursorShapeLoadImages XcursorShapeLoadImages_dylibloader_orig_xcursor #define XcursorShapeLoadCursor XcursorShapeLoadCursor_dylibloader_orig_xcursor #define XcursorShapeLoadCursors XcursorShapeLoadCursors_dylibloader_orig_xcursor #define XcursorTryShapeCursor XcursorTryShapeCursor_dylibloader_orig_xcursor #define XcursorNoticeCreateBitmap XcursorNoticeCreateBitmap_dylibloader_orig_xcursor #define XcursorNoticePutBitmap XcursorNoticePutBitmap_dylibloader_orig_xcursor #define XcursorTryShapeBitmapCursor XcursorTryShapeBitmapCursor_dylibloader_orig_xcursor #define XcursorImageHash XcursorImageHash_dylibloader_orig_xcursor #define XcursorSupportsARGB XcursorSupportsARGB_dylibloader_orig_xcursor #define XcursorSupportsAnim XcursorSupportsAnim_dylibloader_orig_xcursor #define XcursorSetDefaultSize XcursorSetDefaultSize_dylibloader_orig_xcursor #define XcursorGetDefaultSize XcursorGetDefaultSize_dylibloader_orig_xcursor #define XcursorSetTheme XcursorSetTheme_dylibloader_orig_xcursor #define XcursorGetTheme XcursorGetTheme_dylibloader_orig_xcursor #define XcursorGetThemeCore XcursorGetThemeCore_dylibloader_orig_xcursor #define XcursorSetThemeCore XcursorSetThemeCore_dylibloader_orig_xcursor #include #undef XcursorImageCreate #undef XcursorImageDestroy #undef XcursorImagesCreate #undef XcursorImagesDestroy #undef XcursorImagesSetName #undef XcursorCursorsCreate #undef XcursorCursorsDestroy #undef XcursorAnimateCreate #undef XcursorAnimateDestroy #undef XcursorAnimateNext #undef XcursorCommentCreate #undef XcursorCommentDestroy #undef XcursorCommentsCreate #undef XcursorCommentsDestroy #undef XcursorXcFileLoadImage #undef XcursorXcFileLoadImages #undef XcursorXcFileLoadAllImages #undef XcursorXcFileLoad #undef XcursorXcFileSave #undef XcursorFileLoadImage #undef XcursorFileLoadImages #undef XcursorFileLoadAllImages #undef XcursorFileLoad #undef XcursorFileSaveImages #undef XcursorFileSave #undef XcursorFilenameLoadImage #undef XcursorFilenameLoadImages #undef XcursorFilenameLoadAllImages #undef XcursorFilenameLoad #undef XcursorFilenameSaveImages #undef XcursorFilenameSave #undef XcursorLibraryLoadImage #undef XcursorLibraryLoadImages #undef XcursorLibraryPath #undef XcursorLibraryShape #undef XcursorImageLoadCursor #undef XcursorImagesLoadCursors #undef XcursorImagesLoadCursor #undef XcursorFilenameLoadCursor #undef XcursorFilenameLoadCursors #undef XcursorLibraryLoadCursor #undef XcursorLibraryLoadCursors #undef XcursorShapeLoadImage #undef XcursorShapeLoadImages #undef XcursorShapeLoadCursor #undef XcursorShapeLoadCursors #undef XcursorTryShapeCursor #undef XcursorNoticeCreateBitmap #undef XcursorNoticePutBitmap #undef XcursorTryShapeBitmapCursor #undef XcursorImageHash #undef XcursorSupportsARGB #undef XcursorSupportsAnim #undef XcursorSetDefaultSize #undef XcursorGetDefaultSize #undef XcursorSetTheme #undef XcursorGetTheme #undef XcursorGetThemeCore #undef XcursorSetThemeCore #ifdef __cplusplus extern "C" { #endif #define XcursorImageCreate XcursorImageCreate_dylibloader_wrapper_xcursor #define XcursorImageDestroy XcursorImageDestroy_dylibloader_wrapper_xcursor #define XcursorImagesCreate XcursorImagesCreate_dylibloader_wrapper_xcursor #define XcursorImagesDestroy XcursorImagesDestroy_dylibloader_wrapper_xcursor #define XcursorImagesSetName XcursorImagesSetName_dylibloader_wrapper_xcursor #define XcursorCursorsCreate XcursorCursorsCreate_dylibloader_wrapper_xcursor #define XcursorCursorsDestroy XcursorCursorsDestroy_dylibloader_wrapper_xcursor #define XcursorAnimateCreate XcursorAnimateCreate_dylibloader_wrapper_xcursor #define XcursorAnimateDestroy XcursorAnimateDestroy_dylibloader_wrapper_xcursor #define XcursorAnimateNext XcursorAnimateNext_dylibloader_wrapper_xcursor #define XcursorCommentCreate XcursorCommentCreate_dylibloader_wrapper_xcursor #define XcursorCommentDestroy XcursorCommentDestroy_dylibloader_wrapper_xcursor #define XcursorCommentsCreate XcursorCommentsCreate_dylibloader_wrapper_xcursor #define XcursorCommentsDestroy XcursorCommentsDestroy_dylibloader_wrapper_xcursor #define XcursorXcFileLoadImage XcursorXcFileLoadImage_dylibloader_wrapper_xcursor #define XcursorXcFileLoadImages XcursorXcFileLoadImages_dylibloader_wrapper_xcursor #define XcursorXcFileLoadAllImages XcursorXcFileLoadAllImages_dylibloader_wrapper_xcursor #define XcursorXcFileLoad XcursorXcFileLoad_dylibloader_wrapper_xcursor #define XcursorXcFileSave XcursorXcFileSave_dylibloader_wrapper_xcursor #define XcursorFileLoadImage XcursorFileLoadImage_dylibloader_wrapper_xcursor #define XcursorFileLoadImages XcursorFileLoadImages_dylibloader_wrapper_xcursor #define XcursorFileLoadAllImages XcursorFileLoadAllImages_dylibloader_wrapper_xcursor #define XcursorFileLoad XcursorFileLoad_dylibloader_wrapper_xcursor #define XcursorFileSaveImages XcursorFileSaveImages_dylibloader_wrapper_xcursor #define XcursorFileSave XcursorFileSave_dylibloader_wrapper_xcursor #define XcursorFilenameLoadImage XcursorFilenameLoadImage_dylibloader_wrapper_xcursor #define XcursorFilenameLoadImages XcursorFilenameLoadImages_dylibloader_wrapper_xcursor #define XcursorFilenameLoadAllImages XcursorFilenameLoadAllImages_dylibloader_wrapper_xcursor #define XcursorFilenameLoad XcursorFilenameLoad_dylibloader_wrapper_xcursor #define XcursorFilenameSaveImages XcursorFilenameSaveImages_dylibloader_wrapper_xcursor #define XcursorFilenameSave XcursorFilenameSave_dylibloader_wrapper_xcursor #define XcursorLibraryLoadImage XcursorLibraryLoadImage_dylibloader_wrapper_xcursor #define XcursorLibraryLoadImages XcursorLibraryLoadImages_dylibloader_wrapper_xcursor #define XcursorLibraryPath XcursorLibraryPath_dylibloader_wrapper_xcursor #define XcursorLibraryShape XcursorLibraryShape_dylibloader_wrapper_xcursor #define XcursorImageLoadCursor XcursorImageLoadCursor_dylibloader_wrapper_xcursor #define XcursorImagesLoadCursors XcursorImagesLoadCursors_dylibloader_wrapper_xcursor #define XcursorImagesLoadCursor XcursorImagesLoadCursor_dylibloader_wrapper_xcursor #define XcursorFilenameLoadCursor XcursorFilenameLoadCursor_dylibloader_wrapper_xcursor #define XcursorFilenameLoadCursors XcursorFilenameLoadCursors_dylibloader_wrapper_xcursor #define XcursorLibraryLoadCursor XcursorLibraryLoadCursor_dylibloader_wrapper_xcursor #define XcursorLibraryLoadCursors XcursorLibraryLoadCursors_dylibloader_wrapper_xcursor #define XcursorShapeLoadImage XcursorShapeLoadImage_dylibloader_wrapper_xcursor #define XcursorShapeLoadImages XcursorShapeLoadImages_dylibloader_wrapper_xcursor #define XcursorShapeLoadCursor XcursorShapeLoadCursor_dylibloader_wrapper_xcursor #define XcursorShapeLoadCursors XcursorShapeLoadCursors_dylibloader_wrapper_xcursor #define XcursorTryShapeCursor XcursorTryShapeCursor_dylibloader_wrapper_xcursor #define XcursorNoticeCreateBitmap XcursorNoticeCreateBitmap_dylibloader_wrapper_xcursor #define XcursorNoticePutBitmap XcursorNoticePutBitmap_dylibloader_wrapper_xcursor #define XcursorTryShapeBitmapCursor XcursorTryShapeBitmapCursor_dylibloader_wrapper_xcursor #define XcursorImageHash XcursorImageHash_dylibloader_wrapper_xcursor #define XcursorSupportsARGB XcursorSupportsARGB_dylibloader_wrapper_xcursor #define XcursorSupportsAnim XcursorSupportsAnim_dylibloader_wrapper_xcursor #define XcursorSetDefaultSize XcursorSetDefaultSize_dylibloader_wrapper_xcursor #define XcursorGetDefaultSize XcursorGetDefaultSize_dylibloader_wrapper_xcursor #define XcursorSetTheme XcursorSetTheme_dylibloader_wrapper_xcursor #define XcursorGetTheme XcursorGetTheme_dylibloader_wrapper_xcursor #define XcursorGetThemeCore XcursorGetThemeCore_dylibloader_wrapper_xcursor #define XcursorSetThemeCore XcursorSetThemeCore_dylibloader_wrapper_xcursor extern XcursorImage* (*XcursorImageCreate_dylibloader_wrapper_xcursor)( int, int); extern void (*XcursorImageDestroy_dylibloader_wrapper_xcursor)( XcursorImage*); extern XcursorImages* (*XcursorImagesCreate_dylibloader_wrapper_xcursor)( int); extern void (*XcursorImagesDestroy_dylibloader_wrapper_xcursor)( XcursorImages*); extern void (*XcursorImagesSetName_dylibloader_wrapper_xcursor)( XcursorImages*,const char*); extern XcursorCursors* (*XcursorCursorsCreate_dylibloader_wrapper_xcursor)( Display*, int); extern void (*XcursorCursorsDestroy_dylibloader_wrapper_xcursor)( XcursorCursors*); extern XcursorAnimate* (*XcursorAnimateCreate_dylibloader_wrapper_xcursor)( XcursorCursors*); extern void (*XcursorAnimateDestroy_dylibloader_wrapper_xcursor)( XcursorAnimate*); extern Cursor (*XcursorAnimateNext_dylibloader_wrapper_xcursor)( XcursorAnimate*); extern XcursorComment* (*XcursorCommentCreate_dylibloader_wrapper_xcursor)( XcursorUInt, int); extern void (*XcursorCommentDestroy_dylibloader_wrapper_xcursor)( XcursorComment*); extern XcursorComments* (*XcursorCommentsCreate_dylibloader_wrapper_xcursor)( int); extern void (*XcursorCommentsDestroy_dylibloader_wrapper_xcursor)( XcursorComments*); extern XcursorImage* (*XcursorXcFileLoadImage_dylibloader_wrapper_xcursor)( XcursorFile*, int); extern XcursorImages* (*XcursorXcFileLoadImages_dylibloader_wrapper_xcursor)( XcursorFile*, int); extern XcursorImages* (*XcursorXcFileLoadAllImages_dylibloader_wrapper_xcursor)( XcursorFile*); extern XcursorBool (*XcursorXcFileLoad_dylibloader_wrapper_xcursor)( XcursorFile*, XcursorComments**, XcursorImages**); extern XcursorBool (*XcursorXcFileSave_dylibloader_wrapper_xcursor)( XcursorFile*,const XcursorComments*,const XcursorImages*); extern XcursorImage* (*XcursorFileLoadImage_dylibloader_wrapper_xcursor)( FILE*, int); extern XcursorImages* (*XcursorFileLoadImages_dylibloader_wrapper_xcursor)( FILE*, int); extern XcursorImages* (*XcursorFileLoadAllImages_dylibloader_wrapper_xcursor)( FILE*); extern XcursorBool (*XcursorFileLoad_dylibloader_wrapper_xcursor)( FILE*, XcursorComments**, XcursorImages**); extern XcursorBool (*XcursorFileSaveImages_dylibloader_wrapper_xcursor)( FILE*,const XcursorImages*); extern XcursorBool (*XcursorFileSave_dylibloader_wrapper_xcursor)( FILE*,const XcursorComments*,const XcursorImages*); extern XcursorImage* (*XcursorFilenameLoadImage_dylibloader_wrapper_xcursor)(const char*, int); extern XcursorImages* (*XcursorFilenameLoadImages_dylibloader_wrapper_xcursor)(const char*, int); extern XcursorImages* (*XcursorFilenameLoadAllImages_dylibloader_wrapper_xcursor)(const char*); extern XcursorBool (*XcursorFilenameLoad_dylibloader_wrapper_xcursor)(const char*, XcursorComments**, XcursorImages**); extern XcursorBool (*XcursorFilenameSaveImages_dylibloader_wrapper_xcursor)(const char*,const XcursorImages*); extern XcursorBool (*XcursorFilenameSave_dylibloader_wrapper_xcursor)(const char*,const XcursorComments*,const XcursorImages*); extern XcursorImage* (*XcursorLibraryLoadImage_dylibloader_wrapper_xcursor)(const char*,const char*, int); extern XcursorImages* (*XcursorLibraryLoadImages_dylibloader_wrapper_xcursor)(const char*,const char*, int); extern const char* (*XcursorLibraryPath_dylibloader_wrapper_xcursor)( void); extern int (*XcursorLibraryShape_dylibloader_wrapper_xcursor)(const char*); extern Cursor (*XcursorImageLoadCursor_dylibloader_wrapper_xcursor)( Display*,const XcursorImage*); extern XcursorCursors* (*XcursorImagesLoadCursors_dylibloader_wrapper_xcursor)( Display*,const XcursorImages*); extern Cursor (*XcursorImagesLoadCursor_dylibloader_wrapper_xcursor)( Display*,const XcursorImages*); extern Cursor (*XcursorFilenameLoadCursor_dylibloader_wrapper_xcursor)( Display*,const char*); extern XcursorCursors* (*XcursorFilenameLoadCursors_dylibloader_wrapper_xcursor)( Display*,const char*); extern Cursor (*XcursorLibraryLoadCursor_dylibloader_wrapper_xcursor)( Display*,const char*); extern XcursorCursors* (*XcursorLibraryLoadCursors_dylibloader_wrapper_xcursor)( Display*,const char*); extern XcursorImage* (*XcursorShapeLoadImage_dylibloader_wrapper_xcursor)( unsigned int,const char*, int); extern XcursorImages* (*XcursorShapeLoadImages_dylibloader_wrapper_xcursor)( unsigned int,const char*, int); extern Cursor (*XcursorShapeLoadCursor_dylibloader_wrapper_xcursor)( Display*, unsigned int); extern XcursorCursors* (*XcursorShapeLoadCursors_dylibloader_wrapper_xcursor)( Display*, unsigned int); extern Cursor (*XcursorTryShapeCursor_dylibloader_wrapper_xcursor)( Display*, Font, Font, unsigned int, unsigned int,const XColor*,const XColor*); extern void (*XcursorNoticeCreateBitmap_dylibloader_wrapper_xcursor)( Display*, Pixmap, unsigned int, unsigned int); extern void (*XcursorNoticePutBitmap_dylibloader_wrapper_xcursor)( Display*, Drawable, XImage*); extern Cursor (*XcursorTryShapeBitmapCursor_dylibloader_wrapper_xcursor)( Display*, Pixmap, Pixmap, XColor*, XColor*, unsigned int, unsigned int); extern void (*XcursorImageHash_dylibloader_wrapper_xcursor)( XImage*, unsigned char [16]); extern XcursorBool (*XcursorSupportsARGB_dylibloader_wrapper_xcursor)( Display*); extern XcursorBool (*XcursorSupportsAnim_dylibloader_wrapper_xcursor)( Display*); extern XcursorBool (*XcursorSetDefaultSize_dylibloader_wrapper_xcursor)( Display*, int); extern int (*XcursorGetDefaultSize_dylibloader_wrapper_xcursor)( Display*); extern XcursorBool (*XcursorSetTheme_dylibloader_wrapper_xcursor)( Display*,const char*); extern char* (*XcursorGetTheme_dylibloader_wrapper_xcursor)( Display*); extern XcursorBool (*XcursorGetThemeCore_dylibloader_wrapper_xcursor)( Display*); extern XcursorBool (*XcursorSetThemeCore_dylibloader_wrapper_xcursor)( Display*, XcursorBool); int initialize_xcursor(int verbose); #ifdef __cplusplus } #endif #endif