Added window text to the output generated by walk wnd debugger
[wine/multimedia.git] / tsx11 / ts_xresource.c
blob5bb5e8b21bb0aefbea09eb44c89e8c2f523118b0
1 /*
2 * Thread safe wrappers around Xresource calls.
3 * This file was generated automatically by tools/make_X11wrappers
4 * DO NOT EDIT!
5 */
7 #include <X11/Xlib.h>
8 #include <X11/Xresource.h>
9 #include "x11drv.h"
10 #include "debug.h"
12 XrmQuark TSXrmUniqueQuark(void)
14 XrmQuark r;
15 TRACE(x11, "Call XrmUniqueQuark\n");
16 EnterCriticalSection( &X11DRV_CritSection );
17 r = XrmUniqueQuark();
18 LeaveCriticalSection( &X11DRV_CritSection );
19 TRACE(x11, "Ret XrmUniqueQuark\n");
20 return r;
23 int TSXrmGetResource(XrmDatabase a0, const char* a1, const char* a2, char** a3, XrmValue* a4)
25 int r;
26 TRACE(x11, "Call XrmGetResource\n");
27 EnterCriticalSection( &X11DRV_CritSection );
28 r = XrmGetResource(a0, a1, a2, a3, a4);
29 LeaveCriticalSection( &X11DRV_CritSection );
30 TRACE(x11, "Ret XrmGetResource\n");
31 return r;
34 XrmDatabase TSXrmGetFileDatabase(const char* a0)
36 XrmDatabase r;
37 TRACE(x11, "Call XrmGetFileDatabase\n");
38 EnterCriticalSection( &X11DRV_CritSection );
39 r = XrmGetFileDatabase(a0);
40 LeaveCriticalSection( &X11DRV_CritSection );
41 TRACE(x11, "Ret XrmGetFileDatabase\n");
42 return r;
45 XrmDatabase TSXrmGetStringDatabase(const char* a0)
47 XrmDatabase r;
48 TRACE(x11, "Call XrmGetStringDatabase\n");
49 EnterCriticalSection( &X11DRV_CritSection );
50 r = XrmGetStringDatabase(a0);
51 LeaveCriticalSection( &X11DRV_CritSection );
52 TRACE(x11, "Ret XrmGetStringDatabase\n");
53 return r;
56 void TSXrmMergeDatabases(XrmDatabase a0, XrmDatabase* a1)
58 TRACE(x11, "Call XrmMergeDatabases\n");
59 EnterCriticalSection( &X11DRV_CritSection );
60 XrmMergeDatabases(a0, a1);
61 LeaveCriticalSection( &X11DRV_CritSection );
62 TRACE(x11, "Ret XrmMergeDatabases\n");
65 void TSXrmParseCommand(XrmDatabase* a0, XrmOptionDescList a1, int a2, const char* a3, int* a4, char** a5)
67 TRACE(x11, "Call XrmParseCommand\n");
68 EnterCriticalSection( &X11DRV_CritSection );
69 XrmParseCommand(a0, a1, a2, a3, a4, a5);
70 LeaveCriticalSection( &X11DRV_CritSection );
71 TRACE(x11, "Ret XrmParseCommand\n");