aboutsummaryrefslogtreecommitdiffstats
path: root/variable.h
blob: 067ce138345f8dd4e6479d4528ee87d285f85287 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef VARIABLE_H_
#define VARIABLE_H_

#include <stdint.h>

typedef struct {
	uint8_t used :1;
	uint8_t fromc :1;
	uint8_t valtype :2;
	uint32_t value;
	char *svalue;
} variable;

enum valtype {
	STRING = 0,
	INTEGER,
	FLOAT,
	FUNC
};

#endif // VARIABLE_H_