34 lines
788 B
C
34 lines
788 B
C
/*
|
|
* Thread safe wrappers around xpm calls.
|
|
* This file was generated automatically by tools/make_X11wrappers
|
|
*
|
|
* Copyright 1998 Kristian Nielsen
|
|
*/
|
|
|
|
#include <X11/xpm.h>
|
|
#include "tsx11defs.h"
|
|
#include "stddebug.h"
|
|
#include "debug.h"
|
|
|
|
int TSXpmCreatePixmapFromData(Display *a0, Drawable a1, char **a2, Pixmap *a3, Pixmap *a4, XpmAttributes *a5)
|
|
{
|
|
int r;
|
|
dprintf_x11(stddeb, "Call XpmCreatePixmapFromData\n");
|
|
X11_LOCK();
|
|
r = XpmCreatePixmapFromData(a0, a1, a2, a3, a4, a5);
|
|
X11_UNLOCK();
|
|
dprintf_x11(stddeb, "Ret XpmCreatePixmapFromData\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXpmAttributesSize(void)
|
|
{
|
|
int r;
|
|
dprintf_x11(stddeb, "Call XpmAttributesSize\n");
|
|
X11_LOCK();
|
|
r = XpmAttributesSize();
|
|
X11_UNLOCK();
|
|
dprintf_x11(stddeb, "Ret XpmAttributesSize\n");
|
|
return r;
|
|
}
|