diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-09-20 10:36:29 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-09-20 10:36:29 +0200 |
| commit | ca9e43d0f0542d32d48f55a567121feb6666c6fa (patch) | |
| tree | 54d750cc4eb026131bbd526c233be603db175104 /src | |
| parent | 04d2f90ab338f31d485f8a59387ea4075d173ee3 (diff) | |
| download | box64-ca9e43d0f0542d32d48f55a567121feb6666c6fa.tar.gz box64-ca9e43d0f0542d32d48f55a567121feb6666c6fa.zip | |
[WRAPPER] Added 1 wrapped function to libX11 (for #1204 and #1841)
Diffstat (limited to 'src')
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 1 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappedlibx11types.h | 1 | ||||
| -rw-r--r-- | src/wrapped/wrappedlibx11.c | 6 | ||||
| -rw-r--r-- | src/wrapped/wrappedlibx11_private.h | 2 |
4 files changed, 9 insertions, 1 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index 923347ca..c5ae57d0 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -5006,6 +5006,7 @@ wrappedlibx11: - iFp: - XDestroyImage - XInitImage + - _XInitImageFuncPtrs - pFp: - XOpenDisplay - XSetErrorHandler diff --git a/src/wrapped/generated/wrappedlibx11types.h b/src/wrapped/generated/wrappedlibx11types.h index 0344f252..7e1dbfbd 100644 --- a/src/wrapped/generated/wrappedlibx11types.h +++ b/src/wrapped/generated/wrappedlibx11types.h @@ -32,6 +32,7 @@ typedef void* (*pFppiiuuuipii_t)(void*, void*, int32_t, int32_t, uint32_t, uint3 #define SUPER() ADDED_FUNCTIONS() \ GO(XDestroyImage, iFp_t) \ GO(XInitImage, iFp_t) \ + GO(_XInitImageFuncPtrs, iFp_t) \ GO(XOpenDisplay, pFp_t) \ GO(XSetErrorHandler, pFp_t) \ GO(XSetIOErrorHandler, pFp_t) \ diff --git a/src/wrapped/wrappedlibx11.c b/src/wrapped/wrappedlibx11.c index 83bed6c5..df4bb26f 100644 --- a/src/wrapped/wrappedlibx11.c +++ b/src/wrapped/wrappedlibx11.c @@ -1278,6 +1278,12 @@ EXPORT void* my_XGetImage(x64emu_t* emu, void* disp, void* drawable, int32_t x, return img; } +EXPORT void my__XInitImageFuncPtrs(x64emu_t* emu, XImage* img) +{ + my->_XInitImageFuncPtrs(img); + BridgeImageFunc(emu, img); +} + EXPORT int32_t my_XPutImage(x64emu_t* emu, void* disp, void* drawable, void* gc, void* image , int32_t src_x, int32_t src_y, int32_t dst_x, int32_t dst_y , uint32_t w, uint32_t h) diff --git a/src/wrapped/wrappedlibx11_private.h b/src/wrapped/wrappedlibx11_private.h index 0e945e11..72dc55e1 100644 --- a/src/wrapped/wrappedlibx11_private.h +++ b/src/wrapped/wrappedlibx11_private.h @@ -482,7 +482,7 @@ DATAB(_XInitDisplayLock_fn, sizeof(void*)) //GO(_XInitDynamicOM, GO(XInitExtension, pFpp) GOM(XInitImage, iFEp) -//GO(_XInitImageFuncPtrs, +GOM(_XInitImageFuncPtrs, iFEp) //GO(_XInitKeysymDB, GO(XInitThreads, iFv) GO(XInsertModifiermapEntry, pFpCi) |