Fixed mmioDescend when called with a parent chunk.
[wine/wine64.git] / tsx11 / ts_xpm.c
blobedb8437a869fabaa831b0eacaba03f626bba3a8c
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 #ifndef X_DISPLAY_MISSING
11 #ifdef HAVE_LIBXXPM
13 #include <X11/xpm.h>
14 #include "debugtools.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) */
43 #endif /* !defined(X_DISPLAY_MISSING) */