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

namespace  Gosu
 The library's main namespace.

Defines

#define GOSU_IS_LITTLE_ENDIAN
#define GOSU_IS_UNIX
#define GOSU_IS_MAC
#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.


Define Documentation

#define GOSU_DEPRECATED

Definition at line 70 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.