Synesis Software

cstring_t Struct Reference
[cstring API]

#include <cstring.h>

List of all members.


Detailed Description

The cstring structure

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


Member Data Documentation

size_t capacity
 

Number of bytes available.

cstring_flags_t flags
 

Flags. Currently unused.

size_t len
 

Number of characters.

char* ptr
 

Pointer to the string.


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

cstring Library documentation © Matthew Wilson and Synesis Software Pty Ltd, 1994-2005