cbase 1.50.0
C/C++ Static Template
Loading...
Searching...
No Matches
String8Node Struct Reference

A node for building singly-linked lists of strings. More...

#include <base_strings.h>

Collaboration diagram for String8Node:

Public Attributes

struct String8Nodenext
String8 string

Detailed Description

A node for building singly-linked lists of strings.

Used internally by StringBuilders to accumulate segments without contiguous reallocation. Each node is a non-owning view into some backing buffer - it does not copy string data.

Definition at line 69 of file base_strings.h.

Member Data Documentation

◆ next

struct String8Node* String8Node::next

Pointer to the next node, or NULL if last.

Definition at line 70 of file base_strings.h.

◆ string

String8 String8Node::string

The string slice payload.

Definition at line 71 of file base_strings.h.


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