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

25 lines
285 B
C

#ifndef VARIABLE_H_
#define VARIABLE_H_
7 years ago
#include <stdint.h>
typedef struct {
uint8_t tmp :1;
uint8_t type :3;
uint8_t unused :4;
union {
float f;
uint32_t p;
} value;
7 years ago
} variable;
enum VARTYPE {
NUMBER = 0,
STRING,
OPERATOR,
FUNC,
CFUNC,
7 years ago
};
#endif // VARIABLE_H_