axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
axlStack * axl_stack_new ( axlDestroyFunc  destroy_data)

Creates a new stack.

Creates a new axlStack object, which will accept to store a retrieve objects in a FIFO manner.

Parameters
destroy_dataA function to be used to destroy data stored on the stack is the stack is deallocated containing data. This parameter is optional. If not provided, no automatic memory deallocation will peformed.
Returns
A newly allocated stack that must be deallocated by using axl_stack_destroy.

References axl_new.

Referenced by axl_binary_stack_new(), and axl_dtd_validate().