sb_string_t Struct Reference

#include <squareball/sb-string.h>

Data Fields

char * str
size_t len
size_t allocated_len

Detailed Description

Automatically growing string structure.

Examples:

hello_string.c.


Field Documentation

The size of the memory actually allocated for str. Should not be touched by user, despite being part of public interface.

The length of str. Should not be written manually by user.

The raw string. Always nul-terminated. Should not be written manually by user


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

Generated on 5 Apr 2016 for squareball by  doxygen 1.6.1