l0_string struct

Defined in module l0_runtime (l0_runtime.h).

Unified L0 string type (static or heap-allocated).

Public attributes

unsigned int kind: 1
Kind of string: either L0_STRING_K_STATIC (0) or L0_STRING_K_HEAP (1)
unsigned int: 0
Align to next unsigned int boundary.
l0_int len
Length in bytes (for constant inline strings)
const char* bytes
Pointer to character data (may be NULL for empty string)
struct l0_string s_str
Static string structure for constant inline strings.
_l0_h_string* h_str
Heap-allocated string structure for dynamic strings.
union l0_string data