GATE
|
basic type definitions More...
#include <limits.h>
#include <stddef.h>
#include <stdbool.h>
#include <wchar.h>
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) |
basic type definitions
#define GATE_MAX_FILENAME_LENGTH (256) |
maximum length of a single file name
#define GATE_DEFAULT_LINE_LENGTH (1024) |
default text line length
#define GATE_MAX_FILEPATH_LENGTH (2048 + 1024 + 512) |
maximum length of the total path of a file
#define GATE_MAX_COPYBUFFER_LENGTH (4096) |
default size of a copy buffer in bytes
#define GATE_MAX_STACK_COPYBUFFER_LENGTH (1024 * 12) |
default size of a copy buffer in bytes
#define GATE_MAX_BLOCK_COPYBUFFER_LENGTH (65536) |
default size of a copy buffer in bytes
typedef void* gate_ptr_t |
basic generic pointer type
typedef bool gate_bool_t |
basic boolean type
typedef unsigned char gate_uint8_t |
basic 8-bit unsigned integer
typedef signed char gate_int8_t |
basic 8-bit signed integer
typedef unsigned short int gate_uint16_t |
basic 16-bit unsigned integer
typedef signed short int gate_int16_t |
basic 16-bit signed integer
typedef unsigned long gate_uint32_t |
basic 32-bit unsigned integer
typedef signed long gate_int32_t |
basic 32-bit signed integer
typedef unsigned long gate_uint64_t |
basic 64-bit unsigned integer
typedef signed long gate_int64_t |
basic 64-bit signed integer
typedef float gate_real32_t |
basic 32-bit floating point number
typedef double gate_real64_t |
basic 64-bit floating point number
typedef char gate_char8_t |
UTF 8 character
typedef unsigned short gate_char16_t |
UTF 16 character
typedef wchar_t gate_char32_t |
UTF 32 character
typedef gate_char8_t* gate_str8_t |
UTF 8 string
typedef gate_char16_t* gate_str16_t |
UTF 16 string
typedef gate_char32_t* gate_str32_t |
UTF 32 string
typedef gate_char8_t const* gate_const_str8_t |
const UTF 8 string
typedef gate_char16_t const* gate_const_str16_t |
const UTF 16 string
typedef gate_char32_t const* gate_const_str32_t |
const UTF 32 string
typedef long gate_intptr_t |
signed integer of pointer-size
typedef unsigned long gate_uintptr_t |
unsigned integer of pointer-size
typedef gate_uintptr_t gate_size_t |
memory-related size
typedef gate_intptr_t gate_index_t |
index in array
typedef gate_size_t gate_offset_t |
offset of data in memory
typedef int gate_result_t |
generic GATE result code
typedef int gate_enumint_t |
generic enum-size machine word type (16-bit int)
typedef gate_uintptr_t gate_handle_t |
generic integer handle
typedef void* gate_dataptr_t |
generic pointer to data
typedef gate_result_t(* gate_funcptr_t) (gate_dataptr_t arg) |
generic pointer to C function
typedef gate_funcptr_t gate_entrypoint_t |
generic code entry point function