Regenerate X11 wrappers
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.
This commit is contained in:
@@ -1,12 +1,8 @@
|
||||
// This file is generated. Do not edit!
|
||||
// see https://github.com/hpvb/dynload-wrapper for details
|
||||
// generated by generate-wrapper.py 0.3 on 2023-01-23 15:11:35
|
||||
// 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
|
||||
// generated by generate-wrapper.py 0.6 on 2024-11-09 02:52:36
|
||||
// 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 --ignore-other
|
||||
//
|
||||
// NOTE: Generated from Xinerama 1.1.4.
|
||||
// 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 libXinerama.so.1, were removed.
|
||||
#include <stdint.h>
|
||||
|
||||
#define XineramaQueryExtension XineramaQueryExtension_dylibloader_orig_xinerama
|
||||
@@ -20,10 +16,10 @@
|
||||
#undef XineramaQueryScreens
|
||||
#include <dlfcn.h>
|
||||
#include <stdio.h>
|
||||
int (*XineramaQueryExtension_dylibloader_wrapper_xinerama)( Display*, int*, int*);
|
||||
int (*XineramaQueryVersion_dylibloader_wrapper_xinerama)( Display*, int*, int*);
|
||||
int (*XineramaIsActive_dylibloader_wrapper_xinerama)( Display*);
|
||||
XineramaScreenInfo* (*XineramaQueryScreens_dylibloader_wrapper_xinerama)( Display*, int*);
|
||||
int (*XineramaQueryExtension_dylibloader_wrapper_xinerama)(Display *, int *, int *);
|
||||
int (*XineramaQueryVersion_dylibloader_wrapper_xinerama)(Display *, int *, int *);
|
||||
int (*XineramaIsActive_dylibloader_wrapper_xinerama)(Display *);
|
||||
XineramaScreenInfo *(*XineramaQueryScreens_dylibloader_wrapper_xinerama)(Display *, int *);
|
||||
int initialize_xinerama(int verbose) {
|
||||
void *handle;
|
||||
char *error;
|
||||
|
||||
Reference in New Issue
Block a user