Logo Search packages:      
Sourcecode: hat version File versions  Download package

stack.h

typedef struct stack_s
{
    void *element;
    struct stack_s *next;
} stack;

stack* stack_newEmptyStack();
stack* stack_newByCopyingStack(stack* theStack);
void stack_delete(stack* theStack);
void* stack_pop(stack* theStack);
void stack_push(stack* theStack, void *element);
int stack_size(stack* theStack);

Generated by  Doxygen 1.6.0   Back to index