libmya 0.1.0
Library to parse Mya language.
Loading...
Searching...
No Matches
dstring.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dstring
 A dynamic string (dstring) that automatically reallocate her buffer when needed. More...
 

Macros

#define DSTRING_CHUNK_SIZE   100
 The size of the chunk of a dynamic string.
 

Typedefs

typedef struct dstring dstring_t
 A dynamic string (dstring) that automatically reallocate her buffer when needed.
 

Macro Definition Documentation

◆ DSTRING_CHUNK_SIZE

#define DSTRING_CHUNK_SIZE   100

The size of the chunk of a dynamic string.

The string buffer size is increased aligned by this size when reallocated.

Definition at line 5 of file dstring.h.

Typedef Documentation

◆ dstring_t

typedef struct dstring dstring_t

A dynamic string (dstring) that automatically reallocate her buffer when needed.