Add modules and examples. update readme
This commit is contained in:
4
utils/fake_libc_include/X11/Intrinsic.h
Normal file
4
utils/fake_libc_include/X11/Intrinsic.h
Normal file
@@ -0,0 +1,4 @@
|
||||
#include "_fake_defines.h"
|
||||
#include "_fake_typedefs.h"
|
||||
#include "_X11_fake_defines.h"
|
||||
#include "_X11_fake_typedefs.h"
|
4
utils/fake_libc_include/X11/Xlib.h
Normal file
4
utils/fake_libc_include/X11/Xlib.h
Normal file
@@ -0,0 +1,4 @@
|
||||
#include "_fake_defines.h"
|
||||
#include "_fake_typedefs.h"
|
||||
#include "_X11_fake_defines.h"
|
||||
#include "_X11_fake_typedefs.h"
|
16
utils/fake_libc_include/X11/_X11_fake_defines.h
Normal file
16
utils/fake_libc_include/X11/_X11_fake_defines.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef _X11_FAKE_DEFINES_H
|
||||
#define _X11_FAKE_DEFINES_H
|
||||
|
||||
#define Atom CARD32
|
||||
#define Bool int
|
||||
#define KeySym CARD32
|
||||
#define Pixmap CARD32
|
||||
#define Time CARD32
|
||||
#define _XFUNCPROTOBEGIN
|
||||
#define _XFUNCPROTOEND
|
||||
#define _Xconst const
|
||||
|
||||
#define _X_RESTRICT_KYWD
|
||||
#define Cardinal unsigned int
|
||||
#define Boolean int
|
||||
#endif
|
38
utils/fake_libc_include/X11/_X11_fake_typedefs.h
Normal file
38
utils/fake_libc_include/X11/_X11_fake_typedefs.h
Normal file
@@ -0,0 +1,38 @@
|
||||
#ifndef _X11_FAKE_TYPEDEFS_H
|
||||
#define _X11_FAKE_TYPEDEFS_H
|
||||
|
||||
typedef char* XPointer;
|
||||
typedef unsigned char KeyCode;
|
||||
typedef unsigned int CARD32;
|
||||
typedef unsigned long VisualID;
|
||||
typedef unsigned long XIMResetState;
|
||||
typedef unsigned long XID;
|
||||
typedef XID Window;
|
||||
typedef XID Colormap;
|
||||
typedef XID Cursor;
|
||||
typedef XID Drawable;
|
||||
typedef void* XtPointer;
|
||||
typedef XtPointer XtRequestId;
|
||||
typedef struct Display Display;
|
||||
typedef struct Screen Screen;
|
||||
typedef struct Status Status;
|
||||
typedef struct Visual Visual;
|
||||
typedef struct Widget *Widget;
|
||||
typedef struct XColor XColor;
|
||||
typedef struct XClassHint XClassHint;
|
||||
typedef struct XEvent XEvent;
|
||||
typedef struct XFontStruct XFontStruct;
|
||||
typedef struct XGCValues XGCValues;
|
||||
typedef struct XKeyEvent XKeyEvent;
|
||||
typedef struct XKeyPressedEvent XKeyPressedEvent;
|
||||
typedef struct XPoint XPoint;
|
||||
typedef struct XRectangle XRectangle;
|
||||
typedef struct XSelectionRequestEvent XSelectionRequestEvent;
|
||||
typedef struct XWindowChanges XWindowChanges;
|
||||
typedef struct _XGC _XCG;
|
||||
typedef struct _XGC *GC;
|
||||
typedef struct _XIC *XIC;
|
||||
typedef struct _XIM *XIM;
|
||||
typedef struct _XImage XImage;
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user