comparison src/video/Xext/extensions/Xext.h @ 1895:c121d94672cb

SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jul 2006 21:04:37 +0000
parents ecba4bbaf9c2
children
comparison
equal deleted inserted replaced
1894:c69cee13dd76 1895:c121d94672cb
27 #define _XEXT_H_ 27 #define _XEXT_H_
28 28
29 #include <X11/Xfuncproto.h> 29 #include <X11/Xfuncproto.h>
30 30
31 _XFUNCPROTOBEGIN 31 _XFUNCPROTOBEGIN
32 typedef int (*XExtensionErrorHandler) (Display *, _Xconst char *,
33 _Xconst char *);
32 34
33 typedef int (*XExtensionErrorHandler)(Display *, _Xconst char *, 35 extern XExtensionErrorHandler
34 _Xconst char *); 36 XSetExtensionErrorHandler(XExtensionErrorHandler handler);
35 37
36 extern XExtensionErrorHandler XSetExtensionErrorHandler( 38 extern int XMissingExtension(Display * /* dpy */ ,
37 XExtensionErrorHandler handler 39 _Xconst char * /* ext_name */
38 ); 40 );
39
40 extern int XMissingExtension(
41 Display* /* dpy */,
42 _Xconst char* /* ext_name */
43 );
44 41
45 _XFUNCPROTOEND 42 _XFUNCPROTOEND
46
47 #define X_EXTENSION_UNKNOWN "unknown" 43 #define X_EXTENSION_UNKNOWN "unknown"
48 #define X_EXTENSION_MISSING "missing" 44 #define X_EXTENSION_MISSING "missing"
49
50 #endif /* _XEXT_H_ */ 45 #endif /* _XEXT_H_ */
46 /* vi: set ts=4 sw=4 expandtab: */