Sequence of bytes. More...
#include <xornstorage.h>
Public Attributes | |
const char * | s |
Pointer to the character data. More... | |
size_t | len |
Length of the string in bytes. More... | |
Sequence of bytes.
The data is copied by xorn_add_object, xorn_set_object_data and their type-safe equivalents, so it is safe to re-use the memory passed to these functions.
This struct may contain any data, including zero bytes. However, the context in which it is used generally imposes some restrictions on the data.
Definition at line 145 of file xornstorage.h.
xorn_string::len |
Length of the string in bytes.
Definition at line 147 of file xornstorage.h.
xorn_string::s |
Pointer to the character data.
Definition at line 146 of file xornstorage.h.