mirror of
https://github.com/godotengine/godot.git
synced 2025-01-06 17:37:18 +08:00
333452d499
Version 0.6 of https://github.com/hpvb/dynload-wrapper/ now supports all of the features we need to generate the wrappers without editing them. This replaces the hand-patched wrappers with "clean" generated ones.
64 lines
3.9 KiB
C++
64 lines
3.9 KiB
C++
#ifndef DYLIBLOAD_WRAPPER_XEXT
|
|
#define DYLIBLOAD_WRAPPER_XEXT
|
|
// This file is generated. Do not edit!
|
|
// see https://github.com/hpvb/dynload-wrapper for details
|
|
// generated by generate-wrapper.py 0.6 on 2024-11-09 02:52:36
|
|
// 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 --ignore-other --implementation-header thirdparty/linuxbsd_headers/X11/Xlib.h
|
|
//
|
|
#include <stdint.h>
|
|
|
|
#define XShapeQueryExtension XShapeQueryExtension_dylibloader_orig_xext
|
|
#define XShapeQueryVersion XShapeQueryVersion_dylibloader_orig_xext
|
|
#define XShapeCombineRegion XShapeCombineRegion_dylibloader_orig_xext
|
|
#define XShapeCombineRectangles XShapeCombineRectangles_dylibloader_orig_xext
|
|
#define XShapeCombineMask XShapeCombineMask_dylibloader_orig_xext
|
|
#define XShapeCombineShape XShapeCombineShape_dylibloader_orig_xext
|
|
#define XShapeOffsetShape XShapeOffsetShape_dylibloader_orig_xext
|
|
#define XShapeQueryExtents XShapeQueryExtents_dylibloader_orig_xext
|
|
#define XShapeSelectInput XShapeSelectInput_dylibloader_orig_xext
|
|
#define XShapeInputSelected XShapeInputSelected_dylibloader_orig_xext
|
|
#define XShapeGetRectangles XShapeGetRectangles_dylibloader_orig_xext
|
|
#include "thirdparty/linuxbsd_headers/X11/extensions/Xext.h"
|
|
#include "thirdparty/linuxbsd_headers/X11/extensions/shape.h"
|
|
#undef XShapeQueryExtension
|
|
#undef XShapeQueryVersion
|
|
#undef XShapeCombineRegion
|
|
#undef XShapeCombineRectangles
|
|
#undef XShapeCombineMask
|
|
#undef XShapeCombineShape
|
|
#undef XShapeOffsetShape
|
|
#undef XShapeQueryExtents
|
|
#undef XShapeSelectInput
|
|
#undef XShapeInputSelected
|
|
#undef XShapeGetRectangles
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#define XShapeQueryExtension XShapeQueryExtension_dylibloader_wrapper_xext
|
|
#define XShapeQueryVersion XShapeQueryVersion_dylibloader_wrapper_xext
|
|
#define XShapeCombineRegion XShapeCombineRegion_dylibloader_wrapper_xext
|
|
#define XShapeCombineRectangles XShapeCombineRectangles_dylibloader_wrapper_xext
|
|
#define XShapeCombineMask XShapeCombineMask_dylibloader_wrapper_xext
|
|
#define XShapeCombineShape XShapeCombineShape_dylibloader_wrapper_xext
|
|
#define XShapeOffsetShape XShapeOffsetShape_dylibloader_wrapper_xext
|
|
#define XShapeQueryExtents XShapeQueryExtents_dylibloader_wrapper_xext
|
|
#define XShapeSelectInput XShapeSelectInput_dylibloader_wrapper_xext
|
|
#define XShapeInputSelected XShapeInputSelected_dylibloader_wrapper_xext
|
|
#define XShapeGetRectangles XShapeGetRectangles_dylibloader_wrapper_xext
|
|
extern int (*XShapeQueryExtension_dylibloader_wrapper_xext)(Display *, int *, int *);
|
|
extern int (*XShapeQueryVersion_dylibloader_wrapper_xext)(Display *, int *, int *);
|
|
extern void (*XShapeCombineRegion_dylibloader_wrapper_xext)(Display *, Window, int, int, int, Region, int);
|
|
extern void (*XShapeCombineRectangles_dylibloader_wrapper_xext)(Display *, Window, int, int, int, XRectangle *, int, int, int);
|
|
extern void (*XShapeCombineMask_dylibloader_wrapper_xext)(Display *, Window, int, int, int, Pixmap, int);
|
|
extern void (*XShapeCombineShape_dylibloader_wrapper_xext)(Display *, Window, int, int, int, Window, int, int);
|
|
extern void (*XShapeOffsetShape_dylibloader_wrapper_xext)(Display *, Window, int, int, int);
|
|
extern int (*XShapeQueryExtents_dylibloader_wrapper_xext)(Display *, Window, int *, int *, int *, unsigned int *, unsigned int *, int *, int *, int *, unsigned int *, unsigned int *);
|
|
extern void (*XShapeSelectInput_dylibloader_wrapper_xext)(Display *, Window, unsigned long);
|
|
extern unsigned long (*XShapeInputSelected_dylibloader_wrapper_xext)(Display *, Window);
|
|
extern XRectangle *(*XShapeGetRectangles_dylibloader_wrapper_xext)(Display *, Window, int, int *, int *);
|
|
int initialize_xext(int verbose);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|