Mercurial > hg > Members > Moririn
view src/tmp/stack.h @ 86:e06e1a9e569e parallel_execution
create worker
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 18 Jan 2016 17:50:52 +0900 |
parents | |
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();