reldb 0.1.0
Recreational SQLite
Loading...
Searching...
No Matches
Utility Types

Shorthand for common C idioms (strings, bytes, booleans). More...

Typedefs

typedef char * cstr
typedef const char * ccstr
typedef void * ptr
typedef const void * cptr
typedef uint8_t byte
typedef bool b8
typedef int32_t b32

Detailed Description

Shorthand for common C idioms (strings, bytes, booleans).

Typedef Documentation

◆ b32

typedef int32_t b32

32-bit boolean (often faster on 32/64-bit CPUs)

Definition at line 87 of file types.h.

◆ b8

typedef bool b8

8-bit boolean

Definition at line 86 of file types.h.

◆ byte

typedef uint8_t byte

Raw byte representation

Definition at line 85 of file types.h.

◆ ccstr

typedef const char* ccstr

Constant C-string

Definition at line 80 of file types.h.

◆ cptr

typedef const void* cptr

Constant void pointer

Definition at line 83 of file types.h.

◆ cstr

typedef char* cstr

Mutable C-string

Definition at line 79 of file types.h.

◆ ptr

typedef void* ptr

Mutable void pointer

Definition at line 82 of file types.h.