Gosu
Namespaces | Macros | Functions
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
 

Macros

#define GOSU_IS_LITTLE_ENDIAN
 
#define GOSU_IS_UNIX
 
#define GOSU_IS_MAC
 
#define GOSU_DEPRECATED   __attribute__((__deprecated__))
 

Functions

template<typename T >
Gosu::little_to_native (T t)
 
template<typename T >
Gosu::native_to_little (T t)
 
template<typename T >
Gosu::big_to_native (T t)
 
template<typename T >
Gosu::native_to_big (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

◆ GOSU_DEPRECATED

#define GOSU_DEPRECATED   __attribute__((__deprecated__))

Definition at line 69 of file Platform.hpp.

◆ GOSU_IS_LITTLE_ENDIAN

#define GOSU_IS_LITTLE_ENDIAN

Definition at line 13 of file Platform.hpp.

◆ GOSU_IS_MAC

#define GOSU_IS_MAC

Definition at line 56 of file Platform.hpp.

◆ GOSU_IS_UNIX

#define GOSU_IS_UNIX

Definition at line 52 of file Platform.hpp.