Sweden-Number/tsx11/ts_xpm.c

33 lines
834 B
C

/*
* Thread safe wrappers around xpm calls.
* This file was generated automatically by tools/make_X11wrappers
* DO NOT EDIT!
*/
#include <X11/xpm.h>
#include "x11drv.h"
#include "debug.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;
}