From 3b37a00a4be251f87e543d269489cb7a989425d5 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sat, 28 Apr 2001 21:40:25 +0000 Subject: Hop, gros bordel, plein de fichiers ajoutes et supprimes :) --- include/pile.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 include/pile.h (limited to 'include/pile.h') diff --git a/include/pile.h b/include/pile.h new file mode 100644 index 0000000..02ad149 --- /dev/null +++ b/include/pile.h @@ -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 -- cgit v1.2.3