squareball
0.2.0.43-8b14
A general-purpose library for C99
|
#include <squareball/sb-string.h>
Data Fields | |
char * | str |
size_t | len |
size_t | allocated_len |
Automatically growing string structure.
size_t sb_string_t::allocated_len |
The size of the memory actually allocated for str. Should not be touched by user, despite being part of public interface.
size_t sb_string_t::len |
The length of str. Should not be written manually by user.
char* sb_string_t::str |
The raw string. Always nul-terminated. Should not be written manually by user