|
#include <cstring/cstring.h>
Represents a cstring as a string slice - length + pointer - along with the allocated capacity, and flags controlling the allocation arena and other characteristics.
Public Attributes | |
size_t | len |
char * | ptr |
size_t | capacity |
cstring_flags_t | flags |
size_t len |
Number of characters.
size_t capacity |
Number of bytes available.
Flags. This field belongs to the implementation, and must not be modified by any application code.
|
cstring Library documentation (c) Matthew Wilson and Synesis Software Pty Ltd, 1994-2009 |