VgaGames4 - actionstack man-pages

[.. upper level ..]

vg4->actionstack->get()

Get upmost element from actionstack.

SYNTAX
void * vg4->actionstack->get(unsigned int *name_id)

FUNCTION PARAMETERS
name_id For returning element-ID

RETURN VALUE
Returns element-data, which may be NULL

DESCRIPTION
Get upmost element from actionstack. The element will not be removed. When the actionstack is empty, the value of name_id will be set to 0. Just checking the return value (element-data) for NULL does not suffice, as it could be NULL when passed to vg4->actionstack->push().

SEE ALSO
vg4->actionstack->push() vg4->actionstack->pop()