Mercurial > hg > Gears > GearsAgda
view src/llrb/include/stack.h @ 104:12d8e3c8976d
Move headers into include directory
author | Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 15 Mar 2016 11:43:58 +0900 |
parents | src/llrb/stack.h@5c4b9d116eda |
children |
line wrap: on
line source
#include <stdlib.h> typedef struct { size_t size; int max; int num; void* data; } stack, *stack_ptr; extern stack_ptr stack_init(); extern stack_ptr stack_realloc(); extern void stack_free(); extern int stack_push(); extern int stack_pop(); extern int isMax(); extern int isEmpty();