libmya 0.1.0
Library to parse Mya language.
Loading...
Searching...
No Matches
dstring Struct Reference

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

#include <dstring.h>

Data Fields

char * data
 Pointer for the raw string content (a normal C string).
 
unsigned int length
 The length of the string.
 
unsigned int _buffer_size
 The size of the allocated buffer for the string.
 

Detailed Description

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

Definition at line 10 of file dstring.h.

Field Documentation

◆ _buffer_size

unsigned int dstring::_buffer_size

The size of the allocated buffer for the string.

Definition at line 14 of file dstring.h.

◆ data

char* dstring::data

Pointer for the raw string content (a normal C string).

Definition at line 12 of file dstring.h.

◆ length

unsigned int dstring::length

The length of the string.

Definition at line 13 of file dstring.h.


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