Wrappers must always be compiled in STRICT mode.
[wine] / tsx11 / ts_xrender.c
1 /*
2  * Thread safe wrappers around Xrender 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_LIBXRENDER
10
11 #include <X11/Xlib.h>
12 #include <X11/extensions/Xrender.h>
13
14 #include "ts_xrender.h"
15
16
17 void TSXRenderAddGlyphs(Display*a0,GlyphSet a1,Glyph*a2,XGlyphInfo*a3,int a4,char*a5,int a6)
18 {
19   wine_tsx11_lock();
20   XRenderAddGlyphs(a0,a1,a2,a3,a4,a5,a6);
21   wine_tsx11_unlock();
22 }
23
24 void TSXRenderCompositeString8(Display*a0,int a1,Picture a2,Picture a3,XRenderPictFormat*a4,GlyphSet a5,int a6,int a7,int a8,int a9,char*a10,int a11)
25 {
26   wine_tsx11_lock();
27   XRenderCompositeString8(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11);
28   wine_tsx11_unlock();
29 }
30
31 void TSXRenderCompositeString16(Display*a0,int a1,Picture a2,Picture a3,XRenderPictFormat*a4,GlyphSet a5,int a6,int a7,int a8,int a9,unsigned short*a10,int a11)
32 {
33   wine_tsx11_lock();
34   XRenderCompositeString16(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11);
35   wine_tsx11_unlock();
36 }
37
38 void TSXRenderCompositeString32(Display*a0,int a1,Picture a2,Picture a3,XRenderPictFormat*a4,GlyphSet a5,int a6,int a7,int a8,int a9,unsigned int*a10,int a11)
39 {
40   wine_tsx11_lock();
41   XRenderCompositeString32(a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11);
42   wine_tsx11_unlock();
43 }
44
45 GlyphSet TSXRenderCreateGlyphSet(Display*a0,XRenderPictFormat*a1)
46 {
47   GlyphSet r;
48   wine_tsx11_lock();
49   r = XRenderCreateGlyphSet(a0,a1);
50   wine_tsx11_unlock();
51   return r;
52 }
53
54 Picture TSXRenderCreatePicture(Display*a0,Drawable a1,XRenderPictFormat*a2,unsigned long a3,XRenderPictureAttributes*a4)
55 {
56   Picture r;
57   wine_tsx11_lock();
58   r = XRenderCreatePicture(a0,a1,a2,a3,a4);
59   wine_tsx11_unlock();
60   return r;
61 }
62
63 void TSXRenderFillRectangle(Display*a0,int a1,Picture a2,XRenderColor*a3,int a4,int a5,unsigned int a6,unsigned int a7)
64 {
65   wine_tsx11_lock();
66   XRenderFillRectangle(a0,a1,a2,a3,a4,a5,a6,a7);
67   wine_tsx11_unlock();
68 }
69
70 XRenderPictFormat* TSXRenderFindFormat(Display*a0,unsigned long a1,XRenderPictFormat*a2,int a3)
71 {
72   XRenderPictFormat* r;
73   wine_tsx11_lock();
74   r = XRenderFindFormat(a0,a1,a2,a3);
75   wine_tsx11_unlock();
76   return r;
77 }
78
79 XRenderPictFormat* TSXRenderFindVisualFormat(Display*a0,Visual*a1)
80 {
81   XRenderPictFormat* r;
82   wine_tsx11_lock();
83   r = XRenderFindVisualFormat(a0,a1);
84   wine_tsx11_unlock();
85   return r;
86 }
87
88 void TSXRenderFreeGlyphSet(Display*a0,GlyphSet a1)
89 {
90   wine_tsx11_lock();
91   XRenderFreeGlyphSet(a0,a1);
92   wine_tsx11_unlock();
93 }
94
95 void TSXRenderFreePicture(Display*a0,Picture a1)
96 {
97   wine_tsx11_lock();
98   XRenderFreePicture(a0,a1);
99   wine_tsx11_unlock();
100 }
101
102 void TSXRenderSetPictureClipRectangles(Display*a0,Picture a1,int a2,int a3,XRectangle* a4,int a5)
103 {
104   wine_tsx11_lock();
105   XRenderSetPictureClipRectangles(a0,a1,a2,a3,a4,a5);
106   wine_tsx11_unlock();
107 }
108
109 Bool TSXRenderQueryExtension(Display*a0,int*a1,int*a2)
110 {
111   Bool r;
112   wine_tsx11_lock();
113   r = XRenderQueryExtension(a0,a1,a2);
114   wine_tsx11_unlock();
115   return r;
116 }
117
118 #endif /* defined(HAVE_LIBXRENDER) */
119