- Separate application calls to ShowOwnedPopups from Wine calls (in
[wine.git] / tsx11 / ts_xpm.c
blob648f3557e24e85eba9fff3bde4aa413c296044d9
1 /*
2 * Thread safe wrappers around xpm calls.
3 * This file was generated automatically by tools/make_X11wrappers
4 * DO NOT EDIT!
5 */
7 #include "config.h"
9 #ifdef HAVE_LIBXXPM
11 #include <X11/xpm.h>
13 #include "debugtools.h"
14 #include "ts_xpm.h"
15 #include "x11drv.h"
17 DEFAULT_DEBUG_CHANNEL(x11)
19 int TSXpmCreatePixmapFromData(Display *a0, Drawable a1, char **a2, Pixmap *a3, Pixmap *a4, XpmAttributes *a5)
21 int r;
22 TRACE("Call XpmCreatePixmapFromData\n");
23 EnterCriticalSection( &X11DRV_CritSection );
24 r = XpmCreatePixmapFromData(a0, a1, a2, a3, a4, a5);
25 LeaveCriticalSection( &X11DRV_CritSection );
26 TRACE("Ret XpmCreatePixmapFromData\n");
27 return r;
30 int TSXpmAttributesSize(void)
32 int r;
33 TRACE("Call XpmAttributesSize\n");
34 EnterCriticalSection( &X11DRV_CritSection );
35 r = XpmAttributesSize();
36 LeaveCriticalSection( &X11DRV_CritSection );
37 TRACE("Ret XpmAttributesSize\n");
38 return r;
41 #endif /* defined(HAVE_LIBXXPM) */