blob: bcb15b6552de32381e2ea8864251795c7fb548d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#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);
void affichage_pile(void);
#endif
|