Don't fill colormap beyond end of screen depth.
[wine.git] / tsx11 / ts_xresource.c
blobae0e6e3cc4b3a931e8c70ef11c86f146b250f60e
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 "config.h"
10 #include <X11/Xlib.h>
11 #include <X11/Xresource.h>
13 #include "ts_xresource.h"
16 XrmQuark TSXrmUniqueQuark(void)
18 XrmQuark r;
19 wine_tsx11_lock();
20 r = XrmUniqueQuark();
21 wine_tsx11_unlock();
22 return r;
25 int TSXrmGetResource(XrmDatabase a0, const char* a1, const char* a2, char** a3, XrmValue* a4)
27 int r;
28 wine_tsx11_lock();
29 r = XrmGetResource(a0, a1, a2, a3, a4);
30 wine_tsx11_unlock();
31 return r;
34 XrmDatabase TSXrmGetFileDatabase(const char* a0)
36 XrmDatabase r;
37 wine_tsx11_lock();
38 r = XrmGetFileDatabase(a0);
39 wine_tsx11_unlock();
40 return r;
43 XrmDatabase TSXrmGetStringDatabase(const char* a0)
45 XrmDatabase r;
46 wine_tsx11_lock();
47 r = XrmGetStringDatabase(a0);
48 wine_tsx11_unlock();
49 return r;
52 void TSXrmMergeDatabases(XrmDatabase a0, XrmDatabase* a1)
54 wine_tsx11_lock();
55 XrmMergeDatabases(a0, a1);
56 wine_tsx11_unlock();
59 void TSXrmParseCommand(XrmDatabase* a0, XrmOptionDescList a1, int a2, const char* a3, int* a4, char** a5)
61 wine_tsx11_lock();
62 XrmParseCommand(a0, a1, a2, a3, a4, a5);
63 wine_tsx11_unlock();