1 | #ifndef DYLIBLOAD_WRAPPER_XINERAMA |
2 | #define DYLIBLOAD_WRAPPER_XINERAMA |
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:11:35 |
6 | // flags: generate-wrapper.py --include ./thirdparty/linuxbsd_headers/X11/extensions/Xinerama.h --sys-include "thirdparty/linuxbsd_headers/X11/extensions/Xinerama.h" --soname libXinerama.so.1 --init-name xinerama --output-header ./platform/linuxbsd/x11/dynwrappers/xinerama-so_wrap.h --output-implementation ./platform/linuxbsd/x11/dynwrappers/xinerama-so_wrap.c |
7 | // |
8 | // NOTE: Generated from Xinerama 1.1.4. |
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 libXinerama.so.1, were removed. |
12 | #include <stdint.h> |
13 | |
14 | #define XineramaQueryExtension XineramaQueryExtension_dylibloader_orig_xinerama |
15 | #define XineramaQueryVersion XineramaQueryVersion_dylibloader_orig_xinerama |
16 | #define XineramaIsActive XineramaIsActive_dylibloader_orig_xinerama |
17 | #define XineramaQueryScreens XineramaQueryScreens_dylibloader_orig_xinerama |
18 | #include "thirdparty/linuxbsd_headers/X11/extensions/Xinerama.h" |
19 | #undef XineramaQueryExtension |
20 | #undef XineramaQueryVersion |
21 | #undef XineramaIsActive |
22 | #undef XineramaQueryScreens |
23 | #ifdef __cplusplus |
24 | extern "C" { |
25 | #endif |
26 | #define XineramaQueryExtension XineramaQueryExtension_dylibloader_wrapper_xinerama |
27 | #define XineramaQueryVersion XineramaQueryVersion_dylibloader_wrapper_xinerama |
28 | #define XineramaIsActive XineramaIsActive_dylibloader_wrapper_xinerama |
29 | #define XineramaQueryScreens XineramaQueryScreens_dylibloader_wrapper_xinerama |
30 | extern int (*XineramaQueryExtension_dylibloader_wrapper_xinerama)( Display*, int*, int*); |
31 | extern int (*XineramaQueryVersion_dylibloader_wrapper_xinerama)( Display*, int*, int*); |
32 | extern int (*XineramaIsActive_dylibloader_wrapper_xinerama)( Display*); |
33 | extern XineramaScreenInfo* (*XineramaQueryScreens_dylibloader_wrapper_xinerama)( Display*, int*); |
34 | int initialize_xinerama(int verbose); |
35 | #ifdef __cplusplus |
36 | } |
37 | #endif |
38 | #endif |
39 | |