diff options
author | biouman <biouman> | 2001-04-27 04:12:25 +0000 |
---|---|---|
committer | biouman <biouman> | 2001-04-27 04:12:25 +0000 |
commit | 4db12b8121c0b32df8b8671045013c857beb191f (patch) | |
tree | 15489f56132610576bd5cd860d38d8b759f64482 /pile.h |
Diffstat (limited to 'pile.h')
-rw-r--r-- | pile.h | 36 |
1 files changed, 36 insertions, 0 deletions
@@ -0,0 +1,36 @@ +#ifndef __PILE_H__ +#define __PILE_H__ +#include "polynom.h" + +#define PILE_MAX 100 + +typedef enum type_elem { + T_POLY, + T_STRING, + T_INT +} type_elem; + +typedef struct pile_elem { + type_elem type; + polynome poly; + char *label; + int val; +} pile_elem; + +void push_pile(char *st); + +void push_pile_poly(polynome poly); + +void push_pile_int(int val); + +void push_pile_string(char *st); + +pile_elem pop_pile(unsigned int count); + +char *affichage_level_1(void); + +int is_mute(char *st); + +void act_pile(int func); + +#endif |