reactor-c 1.0
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
token_type_t Struct Reference

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.

Detailed Description

Type information for tokens.

Specifically, this struct contains the fields needed to support token types, which carry dynamically allocated data.

Field Documentation

◆ copy_constructor

void *(* token_type_t::copy_constructor) (void *value)

The copy constructor or NULL to use memcpy.

◆ destructor

void(* token_type_t::destructor) (void *value)

The destructor or NULL to use the default free().

◆ element_size

size_t token_type_t::element_size

Size of the struct or array element.


The documentation for this struct was generated from the following file:
  • /Users/runner/work/reactor-c/reactor-c/include/core/lf_token.h