![]() |
reactor-c 1.0
C Runtime for Lingua Franca
|
Type information for tokens. More...
#include <lf_token.h>
Data Fields | |
| void *(*) | copy_constructor (void *value) |
| The copy constructor or NULL to use memcpy. | |
| void(*) | destructor (void *value) |
| The destructor or NULL to use the default free(). | |
| size_t | element_size |
| Size of the struct or array element. | |
Type information for tokens.
Specifically, this struct contains the fields needed to support token types, which carry dynamically allocated data.
| void *(*) token_type_t::copy_constructor(void *value) |
The copy constructor or NULL to use memcpy.
| void(*) token_type_t::destructor(void *value) |
The destructor or NULL to use the default free().
| size_t token_type_t::element_size |
Size of the struct or array element.