Platform.hpp File Reference

Macros and utility functions to facilitate programming on all of Gosu's supported platforms. More...

Go to the source code of this file.

Namespaces

 Gosu
 The library's main namespace.
 

Macros

#define GOSU_IS_LITTLE_ENDIAN
 
#define GOSU_IS_UNIX
 
#define GOSU_IS_MAC
 
#define GOSU_UNIQUE_PTR   std::auto_ptr
 
#define GOSU_MOVE_UNIQUE_PTR(ptr)   (ptr)
 
#define GOSU_DEPRECATED
 

Functions

template<typename T >
Gosu::littleToNative (T t)
 
template<typename T >
Gosu::nativeToLittle (T t)
 
template<typename T >
Gosu::bigToNative (T t)
 
template<typename T >
Gosu::nativeToBig (T t)
 

Detailed Description

Macros and utility functions to facilitate programming on all of Gosu's supported platforms.

Definition in file Platform.hpp.

Macro Definition Documentation

#define GOSU_DEPRECATED

Definition at line 85 of file Platform.hpp.

#define GOSU_IS_LITTLE_ENDIAN

Definition at line 14 of file Platform.hpp.

#define GOSU_IS_MAC

Definition at line 57 of file Platform.hpp.

#define GOSU_IS_UNIX

Definition at line 53 of file Platform.hpp.

#define GOSU_MOVE_UNIQUE_PTR (   ptr)    (ptr)

Definition at line 76 of file Platform.hpp.

#define GOSU_UNIQUE_PTR   std::auto_ptr

Definition at line 75 of file Platform.hpp.