Fray Engine
Loading...
Searching...
No Matches
types.hpp File Reference
#include <cstdint>

Go to the source code of this file.

Macros

#define FRAY_UNKNOWN_OS
 Platform detection: exactly one of FRAY_WINDOWS, FRAY_MAC, FRAY_LINUX or FRAY_UNKNOWN_OS is defined.

Typedefs

typedef void F_void
 Alias for void.
typedef bool F_bool
 Alias for bool.
typedef char F_char
 Alias for char.
typedef unsigned char F_uchar
 Alias for unsigned char (a byte).
typedef int16_t F_short
 Signed 16-bit integer.
typedef uint16_t F_ushort
 Unsigned 16-bit integer (used for ports).
typedef int32_t F_long
 Signed 32-bit integer (also the base of F_err).
typedef uint32_t F_ulong
 Unsigned 32-bit integer.
typedef float F_float
 32-bit floating point.
typedef int64_t F_longlong
 Signed 64-bit integer.
typedef uint64_t F_ulonglong
 Unsigned 64-bit integer.
typedef double F_double
 64-bit floating point.
typedef char F_wchar
 Platform wide character: wchar_t on Windows, char elsewhere.
typedef char * F_wstring
 Platform C string pointer: wchar_t* on Windows, char* elsewhere.

Macro Definition Documentation

◆ FRAY_UNKNOWN_OS

#define FRAY_UNKNOWN_OS

Platform detection: exactly one of FRAY_WINDOWS, FRAY_MAC, FRAY_LINUX or FRAY_UNKNOWN_OS is defined.

Definition at line 16 of file types.hpp.

Typedef Documentation

◆ F_bool

typedef bool F_bool

Alias for bool.

Definition at line 22 of file types.hpp.

◆ F_char

typedef char F_char

Alias for char.

Definition at line 24 of file types.hpp.

◆ F_double

typedef double F_double

64-bit floating point.

Definition at line 42 of file types.hpp.

◆ F_float

typedef float F_float

32-bit floating point.

Definition at line 36 of file types.hpp.

◆ F_long

typedef int32_t F_long

Signed 32-bit integer (also the base of F_err).

Definition at line 32 of file types.hpp.

◆ F_longlong

typedef int64_t F_longlong

Signed 64-bit integer.

Definition at line 38 of file types.hpp.

◆ F_short

typedef int16_t F_short

Signed 16-bit integer.

Definition at line 28 of file types.hpp.

◆ F_uchar

typedef unsigned char F_uchar

Alias for unsigned char (a byte).

Definition at line 26 of file types.hpp.

◆ F_ulong

typedef uint32_t F_ulong

Unsigned 32-bit integer.

Definition at line 34 of file types.hpp.

◆ F_ulonglong

typedef uint64_t F_ulonglong

Unsigned 64-bit integer.

Definition at line 40 of file types.hpp.

◆ F_ushort

typedef uint16_t F_ushort

Unsigned 16-bit integer (used for ports).

Definition at line 30 of file types.hpp.

◆ F_void

typedef void F_void

Alias for void.

Definition at line 20 of file types.hpp.

◆ F_wchar

typedef char F_wchar

Platform wide character: wchar_t on Windows, char elsewhere.

Definition at line 52 of file types.hpp.

◆ F_wstring

typedef char* F_wstring

Platform C string pointer: wchar_t* on Windows, char* elsewhere.

Definition at line 54 of file types.hpp.