2 * Thread safe wrappers around XShm calls.
3 * This file was generated automatically by tools/make_X11wrappers
5 * Copyright 1998 Kristian Nielsen
9 #include <X11/extensions/XShm.h>
10 #include "tsx11defs.h"
14 Bool
TSXShmQueryExtension(Display
*a0
)
17 dprintf_x11(stddeb
, "Call XShmQueryExtension\n");
19 r
= XShmQueryExtension(a0
);
21 dprintf_x11(stddeb
, "Ret XShmQueryExtension\n");
25 int TSXShmPixmapFormat(Display
*a0
)
28 dprintf_x11(stddeb
, "Call XShmPixmapFormat\n");
30 r
= XShmPixmapFormat(a0
);
32 dprintf_x11(stddeb
, "Ret XShmPixmapFormat\n");
36 Status
TSXShmDetach(Display
*a0
, XShmSegmentInfo
*a1
)
39 dprintf_x11(stddeb
, "Call XShmDetach\n");
41 r
= XShmDetach(a0
, a1
);
43 dprintf_x11(stddeb
, "Ret XShmDetach\n");
47 Status
TSXShmAttach(Display
*a0
, XShmSegmentInfo
*a1
)
50 dprintf_x11(stddeb
, "Call XShmAttach\n");
52 r
= XShmAttach(a0
, a1
);
54 dprintf_x11(stddeb
, "Ret XShmAttach\n");