Change the message trace indentation to be consistent by thread.
[wine] / tsx11 / ts_xshm.c
1 /*
2  * Thread safe wrappers around XShm calls.
3  * This file was generated automatically by tools/make_X11wrappers
4  * DO NOT EDIT!
5  */
6
7 #include "config.h"
8
9 #ifdef HAVE_LIBXXSHM
10
11 #include <X11/Xlib.h>
12 #include <X11/extensions/XShm.h>
13
14 #include "ts_xshm.h"
15
16
17 Bool TSXShmQueryExtension(Display *a0)
18 {
19   Bool r;
20   wine_tsx11_lock();
21   r = XShmQueryExtension(a0);
22   wine_tsx11_unlock();
23   return r;
24 }
25
26 Bool TSXShmQueryVersion(Display *a0, int *a1, int *a2, Bool *a3)
27 {
28   Bool r;
29   wine_tsx11_lock();
30   r = XShmQueryVersion(a0, a1, a2, a3);
31   wine_tsx11_unlock();
32   return r;
33 }
34
35 int TSXShmPixmapFormat(Display *a0)
36 {
37   int r;
38   wine_tsx11_lock();
39   r = XShmPixmapFormat(a0);
40   wine_tsx11_unlock();
41   return r;
42 }
43
44 Status TSXShmAttach(Display *a0, XShmSegmentInfo *a1)
45 {
46   Status r;
47   wine_tsx11_lock();
48   r = XShmAttach(a0, a1);
49   wine_tsx11_unlock();
50   return r;
51 }
52
53 Status TSXShmDetach(Display *a0, XShmSegmentInfo *a1)
54 {
55   Status r;
56   wine_tsx11_lock();
57   r = XShmDetach(a0, a1);
58   wine_tsx11_unlock();
59   return r;
60 }
61
62 Status TSXShmPutImage(Display *a0, Drawable a1, GC a2, XImage *a3, int a4, int a5, int a6, int a7, unsigned int a8, unsigned int a9, Bool a10)
63 {
64   Status r;
65   wine_tsx11_lock();
66   r = XShmPutImage(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
67   wine_tsx11_unlock();
68   return r;
69 }
70
71 Status TSXShmGetImage(Display *a0, Drawable a1, XImage *a2, int a3, int a4, unsigned long a5)
72 {
73   Status r;
74   wine_tsx11_lock();
75   r = XShmGetImage(a0, a1, a2, a3, a4, a5);
76   wine_tsx11_unlock();
77   return r;
78 }
79
80 XImage * TSXShmCreateImage(Display *a0, Visual *a1, unsigned int a2, int a3, char *a4, XShmSegmentInfo *a5, unsigned int a6, unsigned int a7)
81 {
82   XImage * r;
83   wine_tsx11_lock();
84   r = XShmCreateImage(a0, a1, a2, a3, a4, a5, a6, a7);
85   wine_tsx11_unlock();
86   return r;
87 }
88
89 Pixmap TSXShmCreatePixmap(Display *a0, Drawable a1, char *a2, XShmSegmentInfo *a3, unsigned int a4, unsigned int a5, unsigned int a6)
90 {
91   Pixmap r;
92   wine_tsx11_lock();
93   r = XShmCreatePixmap(a0, a1, a2, a3, a4, a5, a6);
94   wine_tsx11_unlock();
95   return r;
96 }
97
98 #endif /* defined(HAVE_LIBXXSHM) */
99