Gama C Library
Gama C API Documentation
gmStr Struct Reference

Represents a dynamic, heap-allocated string. More...

#include <str.h>

Data Fields

size_t length
char * content

Detailed Description

Represents a dynamic, heap-allocated string.

This structure stores both the current length of the string and a pointer to its content, allowing for efficient string manipulation and growth.

Field Documentation

◆ content

char* gmStr::content

Pointer to the heap-allocated string content (null-terminated).

◆ length

size_t gmStr::length

The current length of the string (excluding null terminator).


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