Fixed some issues found by winapi_check.
[wine] / include / ts_xutil.h
1 /*
2  * Thread safe wrappers around Xutil calls.
3  * Always include this file instead of <X11/Xutil.h>.
4  * This file was generated automatically by tools/make_X11wrappers
5  * DO NOT EDIT!
6  */
7
8 #ifndef __WINE_TS_XUTIL_H
9 #define __WINE_TS_XUTIL_H
10
11 #ifndef __WINE_CONFIG_H
12 # error You must include config.h to use this header
13 #endif
14
15 #ifdef HAVE_X11_XLIB_H
16
17 #include <X11/Xlib.h>
18 #include <X11/Xresource.h>
19 #include <X11/Xutil.h>
20
21 extern void (*wine_tsx11_lock)(void);
22 extern void (*wine_tsx11_unlock)(void);
23
24 extern XWMHints * TSXAllocWMHints(void);
25 extern int  TSXFindContext(Display*, XID, XContext, XPointer*);
26 extern XWMHints * TSXGetWMHints(Display*, Window);
27 extern int  TSXLookupString(XKeyEvent*, char*, int, KeySym*, XComposeStatus*);
28 extern int  TSXSetWMHints(Display*, Window, XWMHints*);
29 extern int TSXDestroyImage(struct _XImage *);
30
31 #endif /* defined(HAVE_X11_XLIB_H) */
32
33 #endif /* __WINE_TS_XUTIL_H */