Release 980215
[wine.git] / tsx11 / ts_xpm.c
blob26b2dc9fb91a04f2a5ee027d95cd5b47b2459dc9
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 <X11/xpm.h>
8 #include "x11drv.h"
9 #include "stddebug.h"
10 #include "debug.h"
12 int TSXpmCreatePixmapFromData(Display *a0, Drawable a1, char **a2, Pixmap *a3, Pixmap *a4, XpmAttributes *a5)
14 int r;
15 dprintf_x11(stddeb, "Call XpmCreatePixmapFromData\n");
16 EnterCriticalSection( &X11DRV_CritSection );
17 r = XpmCreatePixmapFromData(a0, a1, a2, a3, a4, a5);
18 LeaveCriticalSection( &X11DRV_CritSection );
19 dprintf_x11(stddeb, "Ret XpmCreatePixmapFromData\n");
20 return r;
23 int TSXpmAttributesSize(void)
25 int r;
26 dprintf_x11(stddeb, "Call XpmAttributesSize\n");
27 EnterCriticalSection( &X11DRV_CritSection );
28 r = XpmAttributesSize();
29 LeaveCriticalSection( &X11DRV_CritSection );
30 dprintf_x11(stddeb, "Ret XpmAttributesSize\n");
31 return r;