ajout tp- et cm thread
This commit is contained in:
12
tp/tp6/src/stack/stack.h
Normal file
12
tp/tp6/src/stack/stack.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef _STACK_INT_H
|
||||
#define _STACK_INT_H
|
||||
|
||||
typedef struct stack_t stack_t;
|
||||
|
||||
stack_t * stack_create(int max_size);
|
||||
int stack_destroy(stack_t *s);
|
||||
int stack_push(stack_t *s, int val);
|
||||
int stack_pop(stack_t *s,int *val);
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user