RetroArch
Classes | Macros | Typedefs | Variables
gctypes.h File Reference

Data type definitions. More...

#include <stdbool.h>
#include <stdint.h>
Include dependency graph for gctypes.h:

Go to the source code of this file.

Classes

struct  __argv
 argv structure More...
 

Macros

#define FIXED   s32
 Alias type for sfp32. More...
 
#define TRUE   1
 True. More...
 
#define FALSE   0
 False. More...
 
#define NULL   0
 Pointer to 0. More...
 
#define LITTLE_ENDIAN   3412
 
#define BIG_ENDIAN   1234
 
#define BYTE_ORDER   BIG_ENDIAN
 
#define ARGV_MAGIC   0x5f617267
 

Typedefs

typedef uint8_t u8
 8bit unsigned integer More...
 
typedef uint16_t u16
 16bit unsigned integer More...
 
typedef uint32_t u32
 32bit unsigned integer More...
 
typedef uint64_t u64
 64bit unsigned integer More...
 
typedef int8_t s8
 8bit signed integer More...
 
typedef int16_t s16
 16bit signed integer More...
 
typedef int32_t s32
 32bit signed integer More...
 
typedef int64_t s64
 64bit signed integer More...
 
typedef volatile u8 vu8
 8bit unsigned volatile integer More...
 
typedef volatile u16 vu16
 16bit unsigned volatile integer More...
 
typedef volatile u32 vu32
 32bit unsigned volatile integer More...
 
typedef volatile u64 vu64
 64bit unsigned volatile integer More...
 
typedef volatile s8 vs8
 8bit signed volatile integer More...
 
typedef volatile s16 vs16
 16bit signed volatile integer More...
 
typedef volatile s32 vs32
 32bit signed volatile integer More...
 
typedef volatile s64 vs64
 64bit signed volatile integer More...
 
typedef s16 sfp16
 signed 8:8 fixed point More...
 
typedef s32 sfp32
 signed 20:8 fixed point More...
 
typedef u16 ufp16
 unsigned 8:8 fixed point More...
 
typedef u32 ufp32
 unsigned 24:8 fixed point More...
 
typedef float f32
 
typedef double f64
 
typedef volatile float vf32
 
typedef volatile double vf64
 
typedef unsigned int BOOL
 

Variables

struct __argv__system_argv
 Default location for the system argv structure. More...
 

Detailed Description

Data type definitions.

Macro Definition Documentation

◆ ARGV_MAGIC

#define ARGV_MAGIC   0x5f617267

◆ BIG_ENDIAN

#define BIG_ENDIAN   1234

◆ BYTE_ORDER

#define BYTE_ORDER   BIG_ENDIAN

◆ FALSE

#define FALSE   0

False.

◆ FIXED

#define FIXED   s32

Alias type for sfp32.

◆ LITTLE_ENDIAN

#define LITTLE_ENDIAN   3412

◆ NULL

#define NULL   0

Pointer to 0.

◆ TRUE

#define TRUE   1

True.

Typedef Documentation

◆ BOOL

typedef unsigned int BOOL

◆ f32

typedef float f32

◆ f64

typedef double f64

◆ s16

typedef int16_t s16

16bit signed integer

◆ s32

typedef int32_t s32

32bit signed integer

◆ s64

typedef int64_t s64

64bit signed integer

◆ s8

typedef int8_t s8

8bit signed integer

◆ sfp16

typedef s16 sfp16

signed 8:8 fixed point

◆ sfp32

typedef s32 sfp32

signed 20:8 fixed point

◆ u16

typedef uint16_t u16

16bit unsigned integer

◆ u32

typedef uint32_t u32

32bit unsigned integer

◆ u64

typedef uint64_t u64

64bit unsigned integer

◆ u8

typedef uint8_t u8

8bit unsigned integer

◆ ufp16

typedef u16 ufp16

unsigned 8:8 fixed point

◆ ufp32

typedef u32 ufp32

unsigned 24:8 fixed point

◆ vf32

typedef volatile float vf32

◆ vf64

typedef volatile double vf64

◆ vs16

typedef volatile s16 vs16

16bit signed volatile integer

◆ vs32

typedef volatile s32 vs32

32bit signed volatile integer

◆ vs64

typedef volatile s64 vs64

64bit signed volatile integer

◆ vs8

typedef volatile s8 vs8

8bit signed volatile integer

◆ vu16

typedef volatile u16 vu16

16bit unsigned volatile integer

◆ vu32

typedef volatile u32 vu32

32bit unsigned volatile integer

◆ vu64

typedef volatile u64 vu64

64bit unsigned volatile integer

◆ vu8

typedef volatile u8 vu8

8bit unsigned volatile integer

Variable Documentation

◆ __system_argv

struct __argv* __system_argv

Default location for the system argv structure.