include/SDL_cpuinfo.h
branchSDL-1.3
changeset 1662 782fd950bd46
parent 1426 ef9a9064bff2
child 1668 4da1ee79c9af
     1.1 --- a/include/SDL_cpuinfo.h	Sun May 21 17:27:13 2006 +0000
     1.2 +++ b/include/SDL_cpuinfo.h	Sun May 28 13:04:16 2006 +0000
     1.3 @@ -20,8 +20,11 @@
     1.4      slouken@libsdl.org
     1.5  */
     1.6  
     1.7 -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
     1.8 -/* CPU feature detection for SDL                                       */
     1.9 +/**
    1.10 + * \file SDL_cpuinfo.h
    1.11 + *
    1.12 + * CPU feature detection for SDL
    1.13 + */
    1.14  
    1.15  #ifndef _SDL_cpuinfo_h
    1.16  #define _SDL_cpuinfo_h
    1.17 @@ -31,45 +34,51 @@
    1.18  #include "begin_code.h"
    1.19  /* Set up for C function definitions, even when using C++ */
    1.20  #ifdef __cplusplus
    1.21 +/* *INDENT-OFF* */
    1.22  extern "C" {
    1.23 +/* *INDENT-ON* */
    1.24  #endif
    1.25  
    1.26  /* This function returns true if the CPU has the RDTSC instruction
    1.27   */
    1.28 -extern DECLSPEC SDL_bool SDLCALL SDL_HasRDTSC(void);
    1.29 +extern DECLSPEC SDL_bool SDLCALL SDL_HasRDTSC (void);
    1.30  
    1.31  /* This function returns true if the CPU has MMX features
    1.32   */
    1.33 -extern DECLSPEC SDL_bool SDLCALL SDL_HasMMX(void);
    1.34 +extern DECLSPEC SDL_bool SDLCALL SDL_HasMMX (void);
    1.35  
    1.36  /* This function returns true if the CPU has MMX Ext. features
    1.37   */
    1.38 -extern DECLSPEC SDL_bool SDLCALL SDL_HasMMXExt(void);
    1.39 +extern DECLSPEC SDL_bool SDLCALL SDL_HasMMXExt (void);
    1.40  
    1.41  /* This function returns true if the CPU has 3DNow features
    1.42   */
    1.43 -extern DECLSPEC SDL_bool SDLCALL SDL_Has3DNow(void);
    1.44 +extern DECLSPEC SDL_bool SDLCALL SDL_Has3DNow (void);
    1.45  
    1.46  /* This function returns true if the CPU has 3DNow! Ext. features
    1.47   */
    1.48 -extern DECLSPEC SDL_bool SDLCALL SDL_Has3DNowExt(void);
    1.49 +extern DECLSPEC SDL_bool SDLCALL SDL_Has3DNowExt (void);
    1.50  
    1.51  /* This function returns true if the CPU has SSE features
    1.52   */
    1.53 -extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE(void);
    1.54 +extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE (void);
    1.55  
    1.56  /* This function returns true if the CPU has SSE2 features
    1.57   */
    1.58 -extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE2(void);
    1.59 +extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE2 (void);
    1.60  
    1.61  /* This function returns true if the CPU has AltiVec features
    1.62   */
    1.63 -extern DECLSPEC SDL_bool SDLCALL SDL_HasAltiVec(void);
    1.64 +extern DECLSPEC SDL_bool SDLCALL SDL_HasAltiVec (void);
    1.65  
    1.66  /* Ends C function definitions when using C++ */
    1.67  #ifdef __cplusplus
    1.68 +/* *INDENT-OFF* */
    1.69  }
    1.70 +/* *INDENT-ON* */
    1.71  #endif
    1.72  #include "close_code.h"
    1.73  
    1.74  #endif /* _SDL_cpuinfo_h */
    1.75 +
    1.76 +/* vi: set ts=4 sw=4 expandtab: */