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