VgaGames4

VgaGames4 - actionstack man-pages

[.. upper level ..]

# vg4->actionstack->freefunction()

Set function for freeing data of actionstack-elements.

SYNTAX
void vg4->actionstack->freefunction(void (*freefn)(unsigned int, void *))
FUNCTION PARAMETERS

freefn | Free-function: void (*freefn)(unsigned int name_id, void *vdata) - parameters: - name_id: element-ID - vdata: element-data to be freed or NULL = use free()

DESCRIPTION
Set function for freeing data of actionstack-elements. This function sets the free-function for vdata according to name_id, which is given by vg4->actionstack->push().
SEE ALSO
vg4->actionstack->push() vg4->actionstack->pop() vg4->actionstack->clear()