// SPDX-License-Identifier: MIT
/*******************************************************************
 * File automatically generated by rebuild_wrappers.py (v2.5.0.24) *
 *******************************************************************/
#ifndef __wrappedlibx11TYPES_H_
#define __wrappedlibx11TYPES_H_

#ifndef LIBNAME
#error You should only #include this file inside a wrapped*.c file
#endif
#ifndef ADDED_FUNCTIONS
#define ADDED_FUNCTIONS() 
#endif

typedef void (*vFp_t)(void*);
typedef int32_t (*iFp_t)(void*);
typedef void* (*pFp_t)(void*);
typedef void (*vFpp_t)(void*, void*);
typedef void* (*pFiV_t)(int32_t, ...);
typedef void* (*pFpi_t)(void*, int32_t);
typedef void* (*pFpp_t)(void*, void*);
typedef void* (*pFpV_t)(void*, ...);
typedef void (*vFppp_t)(void*, void*, void*);
typedef int32_t (*iFppp_t)(void*, void*, void*);
typedef void* (*pFpip_t)(void*, int32_t, void*);
typedef void* (*pFpCL_t)(void*, uint8_t, uintptr_t);
typedef int32_t (*iFpppp_t)(void*, void*, void*, void*);
typedef void* (*pFpppp_t)(void*, void*, void*, void*);
typedef int32_t (*iFppppp_t)(void*, void*, void*, void*, void*);
typedef int32_t (*iFpppppp_t)(void*, void*, void*, void*, void*, void*);
typedef void* (*pFpLiiuuLi_t)(void*, uintptr_t, int32_t, int32_t, uint32_t, uint32_t, uintptr_t, int32_t);
typedef int32_t (*iFpLppiiiiuu_t)(void*, uintptr_t, void*, void*, int32_t, int32_t, int32_t, int32_t, uint32_t, uint32_t);
typedef void* (*pFppuiipuuii_t)(void*, void*, uint32_t, int32_t, int32_t, void*, uint32_t, uint32_t, int32_t, int32_t);
typedef void* (*pFpLiiuuLipii_t)(void*, uintptr_t, int32_t, int32_t, uint32_t, uint32_t, uintptr_t, int32_t, void*, int32_t, int32_t);
typedef uintptr_t (*LFpLiiuuuiupLp_t)(void*, uintptr_t, int32_t, int32_t, uint32_t, uint32_t, uint32_t, int32_t, uint32_t, void*, uintptr_t, void*);

#define SUPER() ADDED_FUNCTIONS() \
	GO(XcmsFreeCCC, vFp_t) \
	GO(XCloseDisplay, iFp_t) \
	GO(XDestroyImage, iFp_t) \
	GO(XInitImage, iFp_t) \
	GO(_XInitImageFuncPtrs, iFp_t) \
	GO(XOpenDisplay, pFp_t) \
	GO(XSetErrorHandler, pFp_t) \
	GO(XSetIOErrorHandler, pFp_t) \
	GO(_XDeqAsyncHandler, vFpp_t) \
	GO(XVaCreateNestedList, pFiV_t) \
	GO(XSynchronize, pFpi_t) \
	GO(XSetAfterFunction, pFpp_t) \
	GO(XCreateIC, pFpV_t) \
	GO(XSetICValues, pFpV_t) \
	GO(XSetIMValues, pFpV_t) \
	GO(XRemoveConnectionWatch, vFppp_t) \
	GO(XAddConnectionWatch, iFppp_t) \
	GO(XESetCloseDisplay, pFpip_t) \
	GO(XESetCopyGC, pFpip_t) \
	GO(XESetCreateFont, pFpip_t) \
	GO(XESetCreateGC, pFpip_t) \
	GO(XESetError, pFpip_t) \
	GO(XESetErrorString, pFpip_t) \
	GO(XESetEventToWire, pFpip_t) \
	GO(XESetFlushGC, pFpip_t) \
	GO(XESetFreeFont, pFpip_t) \
	GO(XESetFreeGC, pFpip_t) \
	GO(XESetWireToEvent, pFpip_t) \
	GO(_XGetRequest, pFpCL_t) \
	GO(XCheckIfEvent, iFpppp_t) \
	GO(XIfEvent, iFpppp_t) \
	GO(XPeekIfEvent, iFpppp_t) \
	GO(XOpenIM, pFpppp_t) \
	GO(XQueryExtension, iFppppp_t) \
	GO(XRegisterIMInstantiateCallback, iFpppppp_t) \
	GO(XUnregisterIMInstantiateCallback, iFpppppp_t) \
	GO(XGetImage, pFpLiiuuLi_t) \
	GO(XPutImage, iFpLppiiiiuu_t) \
	GO(XCreateImage, pFppuiipuuii_t) \
	GO(XGetSubImage, pFpLiiuuLipii_t) \
	GO(XCreateWindow, LFpLiiuuuiupLp_t)

#endif // __wrappedlibx11TYPES_H_
