GATE
C/C++ Framework
Loading...
Searching...
No Matches
gatetypes.h File Reference

basic type definitions More...

Macros

#define GATE_MAX_FILENAME_LENGTH   (256)
#define GATE_DEFAULT_LINE_LENGTH   (1024)
#define GATE_MAX_FILEPATH_LENGTH   (2048 + 1024 + 512)
#define GATE_MAX_COPYBUFFER_LENGTH   (4096)
#define GATE_MAX_STACK_COPYBUFFER_LENGTH   (1024 * 12)
#define GATE_MAX_BLOCK_COPYBUFFER_LENGTH   (65536)

Typedefs

typedef void * gate_ptr_t
typedef gate_char8_tgate_str8_t
typedef gate_char16_tgate_str16_t
typedef gate_char32_tgate_str32_t
typedef gate_char8_t const * gate_const_str8_t
typedef gate_char16_t const * gate_const_str16_t
typedef gate_char32_t const * gate_const_str32_t
typedef gate_intptr_t gate_index_t
typedef gate_size_t gate_offset_t
typedef int gate_result_t
typedef int gate_enumint_t
typedef gate_uint16_t gate_type_id_t
typedef gate_uintptr_t gate_handle_t
typedef void * gate_dataptr_t
typedef gate_result_t(* gate_funcptr_t) (gate_dataptr_t arg)
typedef gate_funcptr_t gate_entrypoint_t

Detailed Description

basic type definitions

Macro Definition Documentation

◆ GATE_MAX_FILENAME_LENGTH

#define GATE_MAX_FILENAME_LENGTH   (256)

maximum length of a single file name

◆ GATE_DEFAULT_LINE_LENGTH

#define GATE_DEFAULT_LINE_LENGTH   (1024)

default text line length

◆ GATE_MAX_FILEPATH_LENGTH

#define GATE_MAX_FILEPATH_LENGTH   (2048 + 1024 + 512)

maximum length of the total path of a file

◆ GATE_MAX_COPYBUFFER_LENGTH

#define GATE_MAX_COPYBUFFER_LENGTH   (4096)

default size of a copy buffer in bytes

◆ GATE_MAX_STACK_COPYBUFFER_LENGTH

#define GATE_MAX_STACK_COPYBUFFER_LENGTH   (1024 * 12)

default size of a copy buffer in bytes

◆ GATE_MAX_BLOCK_COPYBUFFER_LENGTH

#define GATE_MAX_BLOCK_COPYBUFFER_LENGTH   (65536)

default size of a copy buffer in bytes

Typedef Documentation

◆ gate_ptr_t

typedef void* gate_ptr_t

basic generic pointer type

◆ gate_str8_t

UTF 8 string

◆ gate_str16_t

UTF 16 string

◆ gate_str32_t

UTF 32 string

◆ gate_const_str8_t

const UTF 8 string

◆ gate_const_str16_t

const UTF 16 string

◆ gate_const_str32_t

const UTF 32 string

◆ gate_index_t

typedef gate_intptr_t gate_index_t

index in array

◆ gate_offset_t

offset of data in memory

◆ gate_result_t

typedef int gate_result_t

generic GATE result code

◆ gate_enumint_t

typedef int gate_enumint_t

generic enum-size machine word type (16-bit int)

◆ gate_type_id_t

typedef gate_uint16_t gate_type_id_t

gate value type identifier

◆ gate_handle_t

typedef gate_uintptr_t gate_handle_t

generic integer handle

◆ gate_dataptr_t

typedef void* gate_dataptr_t

generic pointer to data

◆ gate_funcptr_t

typedef gate_result_t(* gate_funcptr_t) (gate_dataptr_t arg)

generic pointer to C function

◆ gate_entrypoint_t

generic code entry point function