valueFree basic EMF

Synopsis

Frees any storage allocated for a value_t variable.

Prototype

 #include "uemf.h"
 
 void valueFree(value_t* v);

Parameters

 Pointer to the string or symbol type symClose
symDelete
symEnter
variable.

Description

The symClose
symDelete
symEnter
value_t module provides a generic type that can hold all possible data types. It is designed to provide maximum efficiency.

This function either calls bFree for a string type or initiates the call back function for a symbol type.

Return Value

none

Example

statemachine_t *sm;
value_t        v;

v = valueSymbol((void *)sm, &fmFreeStateMachine);

symEnter(smTable, instanceName, v, 0);

valueFree(&v);

Stability Classification

Stable.

See Also

value_t