VG3_actionstack_push()
[added in version 1.4]
Push a new element onto an actionstack.
SYNTAX
void
VG3_actionstack_push(struct vg3_actionstack *astack,
int name_id,
struct vg3_hash *hparm,
int parent_id)
FUNCTION PARAMETERS
astack | Actionstack |
name_id | Name-ID of the element |
hparm | Hashmap with parameters for the element, (will be copied) |
parent_id | Stack-ID of the parent-element, or 0 = no parent |
DESCRIPTION
Push a new element onto an actionstack, which becomes the top-most element.
The name_id is an arbitrary predefined positive number to define this element.
The parent_id is useful to assign a parent-element to the new element,
e.g. to access its parameters.
SEE ALSO
VG3_actionstack_new()
VG3_actionstack_free()
VG3_actionstack_get()
VG3_actionstack_pop()
VG3_actionstack_parent()
VG3_actionstack_dump()