wine/tsx11/ts_xpm.c
1999-02-04 10:51:35 +00:00

41 lines
980 B
C

/*
* Thread safe wrappers around xpm calls.
* This file was generated automatically by tools/make_X11wrappers
* DO NOT EDIT!
*/
#include "config.h"
#ifndef X_DISPLAY_MISSING
#ifdef HAVE_LIBXXPM
#include <X11/xpm.h>
#include "debug.h"
#include "x11drv.h"
int TSXpmCreatePixmapFromData(Display *a0, Drawable a1, char **a2, Pixmap *a3, Pixmap *a4, XpmAttributes *a5)
{
int r;
TRACE(x11, "Call XpmCreatePixmapFromData\n");
EnterCriticalSection( &X11DRV_CritSection );
r = XpmCreatePixmapFromData(a0, a1, a2, a3, a4, a5);
LeaveCriticalSection( &X11DRV_CritSection );
TRACE(x11, "Ret XpmCreatePixmapFromData\n");
return r;
}
int TSXpmAttributesSize(void)
{
int r;
TRACE(x11, "Call XpmAttributesSize\n");
EnterCriticalSection( &X11DRV_CritSection );
r = XpmAttributesSize();
LeaveCriticalSection( &X11DRV_CritSection );
TRACE(x11, "Ret XpmAttributesSize\n");
return r;
}
#endif /* defined(HAVE_LIBXXPM) */
#endif /* !defined(X_DISPLAY_MISSING) */