You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
312 B

#include <stdlib.h>
#define STACK_TYPE size_t
#ifdef STACK_TYPE
#define STACK_TAB_SIZE 10
struct stack_cell_t {
struct stack_cell_t* next;
STACK_TYPE tab[STACK_TAB_SIZE];
size_t sommet;
};
int stack_push(struct stack_cell_t** l, STACK_TYPE elt);
STACK_TYPE* stack_pop(struct stack_cell_t** l);
#endif