2 * Thread safe wrappers around XShm calls.
3 * This file was generated automatically by tools/make_X11wrappers
12 #include <X11/extensions/XShm.h>
17 Bool
TSXShmQueryExtension(Display
*a0
)
21 r
= XShmQueryExtension(a0
);
26 Bool
TSXShmQueryVersion(Display
*a0
, int *a1
, int *a2
, Bool
*a3
)
30 r
= XShmQueryVersion(a0
, a1
, a2
, a3
);
35 int TSXShmPixmapFormat(Display
*a0
)
39 r
= XShmPixmapFormat(a0
);
44 Status
TSXShmAttach(Display
*a0
, XShmSegmentInfo
*a1
)
48 r
= XShmAttach(a0
, a1
);
53 Status
TSXShmDetach(Display
*a0
, XShmSegmentInfo
*a1
)
57 r
= XShmDetach(a0
, a1
);
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
)
66 r
= XShmPutImage(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
, a10
);
71 Status
TSXShmGetImage(Display
*a0
, Drawable a1
, XImage
*a2
, int a3
, int a4
, unsigned long a5
)
75 r
= XShmGetImage(a0
, a1
, a2
, a3
, a4
, a5
);
80 XImage
* TSXShmCreateImage(Display
*a0
, Visual
*a1
, unsigned int a2
, int a3
, char *a4
, XShmSegmentInfo
*a5
, unsigned int a6
, unsigned int a7
)
84 r
= XShmCreateImage(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
);
89 Pixmap
TSXShmCreatePixmap(Display
*a0
, Drawable a1
, char *a2
, XShmSegmentInfo
*a3
, unsigned int a4
, unsigned int a5
, unsigned int a6
)
93 r
= XShmCreatePixmap(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
98 #endif /* defined(HAVE_LIBXXSHM) */