FreeWRL/FreeX3D  3.0.0
cson_value_api Struct Reference

This type holds the "vtbl" for type-specific operations when working with cson_value objects. More...

Data Fields

const cson_type_id typeID
 The logical JavaScript/JSON type associated with this object.
 
void(* cleanup )(cson_value *self)
 Must free any memory associated with self, but not free self. More...
 

Detailed Description

This type holds the "vtbl" for type-specific operations when working with cson_value objects.

All cson_values of a given logical type share a pointer to a single library-internal instance of this class.

Definition at line 1443 of file cson_amalgamation_core.c.

Field Documentation

void(* cson_value_api::cleanup)(cson_value *self)

Must free any memory associated with self, but not free self.

If self is NULL then this function must do nothing.

Definition at line 1455 of file cson_amalgamation_core.c.


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