GoldFish Engine
Quite simple and lightweight game engine
Loading...
Searching...
No Matches
compat.h File Reference

Type definitions for C99 types in C89. More...

Go to the source code of this file.

Macros

#define gf_true   1
 
#define gf_false   (!gf_true)
 

Typedefs

typedef unsigned char gf_bool_t
 
typedef unsigned char gf_uint8_t
 
typedef unsigned short gf_uint16_t
 
typedef unsigned int gf_uint32_t
 
typedef gf_uint32_t gf_uint64_t
 
typedef signed char gf_int8_t
 
typedef signed short gf_int16_t
 
typedef signed int gf_int32_t
 
typedef gf_int32_t gf_int64_t
 

Detailed Description

Type definitions for C99 types in C89.

Definition in file compat.h.

Macro Definition Documentation

◆ gf_false

#define gf_false   (!gf_true)

Definition at line 35 of file compat.h.

◆ gf_true

#define gf_true   1

Definition at line 34 of file compat.h.

Typedef Documentation

◆ gf_bool_t

typedef unsigned char gf_bool_t

Definition at line 36 of file compat.h.

◆ gf_int16_t

typedef signed short gf_int16_t

Definition at line 44 of file compat.h.

◆ gf_int32_t

typedef signed int gf_int32_t

Definition at line 45 of file compat.h.

◆ gf_int64_t

typedef gf_int32_t gf_int64_t

Definition at line 46 of file compat.h.

◆ gf_int8_t

typedef signed char gf_int8_t

Definition at line 43 of file compat.h.

◆ gf_uint16_t

typedef unsigned short gf_uint16_t

Definition at line 39 of file compat.h.

◆ gf_uint32_t

typedef unsigned int gf_uint32_t

Definition at line 40 of file compat.h.

◆ gf_uint64_t

typedef gf_uint32_t gf_uint64_t

Definition at line 41 of file compat.h.

◆ gf_uint8_t

typedef unsigned char gf_uint8_t

Definition at line 38 of file compat.h.