libcute 0.1
Loading...
Searching...
No Matches
Public Attributes | List of all members
cu_String Struct Reference

Dynamically allocated UTF-8 string. More...

#include <string.h>

Collaboration diagram for cu_String:
Collaboration graph
[legend]

Public Attributes

cu_Allocator allocator
 
char * data
 
size_t length
 
size_t capacity
 

Detailed Description

Dynamically allocated UTF-8 string.

Result type used by string constructors.

Member Data Documentation

◆ allocator

cu_Allocator cu_String::allocator

backing allocator

◆ capacity

size_t cu_String::capacity

allocated capacity

◆ data

char* cu_String::data

character buffer

◆ length

size_t cu_String::length

string length without null terminator


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