Mercurial > sdl-ios-xcode
diff src/video/Xext/extensions/xf86dga1.h @ 1668:4da1ee79c9af SDL-1.3
more tweaking indent options
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 29 May 2006 04:04:35 +0000 |
parents | 782fd950bd46 |
children |
line wrap: on
line diff
--- a/src/video/Xext/extensions/xf86dga1.h Mon May 29 03:53:21 2006 +0000 +++ b/src/video/Xext/extensions/xf86dga1.h Mon May 29 04:04:35 2006 +0000 @@ -41,122 +41,122 @@ #ifndef _XF86DGA_SERVER_ -_XFUNCPROTOBEGIN Bool SDL_NAME (XF86DGAQueryVersion) ( +_XFUNCPROTOBEGIN Bool SDL_NAME(XF86DGAQueryVersion) ( #if NeedFunctionPrototypes - Display * /* dpy */ , - int * - /* majorVersion */ , - int * /* minorVersion */ + Display * /* dpy */ , + int * + /* majorVersion */ , + int * /* minorVersion */ +#endif + ); + +Bool SDL_NAME(XF86DGAQueryExtension) ( +#if NeedFunctionPrototypes + Display * /* dpy */ , + int * /* event_base */ , + int * /* error_base */ #endif ); -Bool SDL_NAME (XF86DGAQueryExtension) ( +Status SDL_NAME(XF86DGAGetVideoLL) ( #if NeedFunctionPrototypes - Display * /* dpy */ , - int * /* event_base */ , - int * /* error_base */ + Display * /* dpy */ , + int /* screen */ , + int * /* base addr */ , + int * /* width */ , + int * /* bank_size */ , + int * /* ram_size */ #endif ); -Status SDL_NAME (XF86DGAGetVideoLL) ( +Status SDL_NAME(XF86DGAGetVideo) ( +#if NeedFunctionPrototypes + Display * /* dpy */ , + int /* screen */ , + char ** /* base addr */ , + int * /* width */ , + int * /* bank_size */ , + int * /* ram_size */ +#endif + ); + +Status SDL_NAME(XF86DGADirectVideo) ( #if NeedFunctionPrototypes Display * /* dpy */ , int /* screen */ , - int * /* base addr */ , - int * /* width */ , - int * /* bank_size */ , - int * /* ram_size */ + int /* enable */ #endif ); -Status SDL_NAME (XF86DGAGetVideo) ( +Status SDL_NAME(XF86DGADirectVideoLL) ( #if NeedFunctionPrototypes - Display * /* dpy */ , - int /* screen */ , - char ** /* base addr */ , - int * /* width */ , - int * /* bank_size */ , - int * /* ram_size */ -#endif - ); - -Status SDL_NAME (XF86DGADirectVideo) ( -#if NeedFunctionPrototypes - Display * /* dpy */ , - int /* screen */ , - int /* enable */ -#endif - ); - -Status SDL_NAME (XF86DGADirectVideoLL) ( -#if NeedFunctionPrototypes - Display * /* dpy */ , - int /* screen */ , - int /* enable */ + Display * /* dpy */ , + int /* screen */ , + int /* enable */ #endif ); -Status SDL_NAME (XF86DGAGetViewPortSize) ( +Status SDL_NAME(XF86DGAGetViewPortSize) ( #if NeedFunctionPrototypes - Display * /* dpy */ , - int /* screen */ , - int * /* width */ , - int * /* height */ + Display * /* dpy */ , + int /* screen */ , + int * /* width */ , + int * /* height */ #endif ); -Status SDL_NAME (XF86DGASetViewPort) ( -#if NeedFunctionPrototypes - Display * /* dpy */ , - int /* screen */ , - int x /* X */ , - int y /* Y */ -#endif - ); - -Status SDL_NAME (XF86DGAGetVidPage) ( -#if NeedFunctionPrototypes - Display * /* dpy */ , - int /* screen */ , - int * /* vid page */ -#endif - ); - -Status SDL_NAME (XF86DGASetVidPage) ( +Status SDL_NAME(XF86DGASetViewPort) ( #if NeedFunctionPrototypes Display * /* dpy */ , int /* screen */ , - int /* vid page */ + int x /* X */ , + int y /* Y */ #endif ); -Status SDL_NAME (XF86DGAInstallColormap) ( +Status SDL_NAME(XF86DGAGetVidPage) ( #if NeedFunctionPrototypes - Display * /* dpy */ , - int /* screen */ , - Colormap /*Colormap */ + Display * /* dpy */ , + int /* screen */ , + int * /* vid page */ +#endif + ); + +Status SDL_NAME(XF86DGASetVidPage) ( +#if NeedFunctionPrototypes + Display * /* dpy */ , + int /* screen */ , + int /* vid page */ #endif ); -int SDL_NAME (XF86DGAForkApp) ( +Status SDL_NAME(XF86DGAInstallColormap) ( #if NeedFunctionPrototypes - int screen + Display * /* dpy */ , + int /* screen */ , + Colormap /*Colormap */ +#endif + ); + +int SDL_NAME(XF86DGAForkApp) ( +#if NeedFunctionPrototypes + int screen #endif ); -Status SDL_NAME (XF86DGAQueryDirectVideo) ( +Status SDL_NAME(XF86DGAQueryDirectVideo) ( #if NeedFunctionPrototypes - Display * /* dpy */ , - int /* screen */ , - int * /* flags */ + Display * /* dpy */ , + int /* screen */ , + int * /* flags */ #endif ); -Bool SDL_NAME (XF86DGAViewPortChanged) ( +Bool SDL_NAME(XF86DGAViewPortChanged) ( #if NeedFunctionPrototypes - Display * /* dpy */ , - int /* screen */ , - int /* n */ + Display * /* dpy */ , + int /* screen */ , + int /* n */ #endif );