comparison src/parallel_execution/stack.h @ 87:9e139a340bd1 parallel_execution

rename directory
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Tue, 19 Jan 2016 16:16:26 +0900
parents src/tmp/stack.h@e06e1a9e569e
children 2bb5e4f0fd35
comparison
equal deleted inserted replaced
86:e06e1a9e569e 87:9e139a340bd1
1 #include <stdlib.h>
2
3 typedef struct {
4 size_t size;
5 int max;
6 int num;
7 void* data;
8 } stack, *stack_ptr;
9
10 extern stack_ptr stack_init();
11 extern stack_ptr stack_realloc();
12 extern void stack_free();
13 extern int stack_push();
14 extern int stack_pop();
15 extern int isMax();
16 extern int isEmpty();