kiba-engine
Data Fields
string Struct Reference

Structure for a string. More...

#include <string.h>

Collaboration diagram for string:

Data Fields

char * data
 The character sequence of the string.
 
usize length
 The length of the string.
 
allocatoralloc
 The allocator used for construction. KB_NULL if constructed from a raw literal.
 

Detailed Description

Structure for a string.

Indicate ownership and allows the creation of string_view.

Definition at line 17 of file string.h.


The documentation for this struct was generated from the following file: