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