Graphviz
2.41.20171026.1811
|
Go to the source code of this file.
Data Structures | |
struct | IntStack_struct |
Macros | |
#define | IntStack_get_length(s) (1+(s)->last) |
Typedefs | |
typedef struct IntStack_struct * | IntStack |
Functions | |
IntStack | IntStack_new (void) |
void | IntStack_delete (IntStack s) |
int | IntStack_push (IntStack s, int i) |
int | IntStack_pop (IntStack s, int *flag) |
void | IntStack_print (IntStack s) |
Definition at line 30 of file IntStack.h.
Referenced by BinaryHeap_sanity_check().
typedef struct IntStack_struct* IntStack |
Definition at line 24 of file IntStack.h.
void IntStack_delete | ( | IntStack | s | ) |
Definition at line 28 of file IntStack.c.
References FREE, and IntStack_struct::stack.
Referenced by BinaryHeap_delete().
IntStack IntStack_new | ( | void | ) |
Definition at line 17 of file IntStack.c.
References IntStack_struct::last, MALLOC, IntStack_struct::max_len, and IntStack_struct::stack.
Referenced by BinaryHeap_new().
Definition at line 53 of file IntStack.c.
References IntStack_struct::last, and IntStack_struct::stack.
Referenced by BinaryHeap_insert().
void IntStack_print | ( | IntStack | s | ) |
Definition at line 62 of file IntStack.c.
References IntStack_struct::last, and IntStack_struct::stack.
Definition at line 45 of file IntStack.c.
References IntStack_struct::last, IntStack_struct::max_len, and IntStack_struct::stack.
Referenced by BinaryHeap_extract_item().