2018-07-23 04:59:16 +00:00
|
|
|
#ifndef type_h
|
|
|
|
#define type_h
|
|
|
|
|
|
|
|
#define VOID 0
|
|
|
|
#define INT 1
|
|
|
|
#define DOUBLE 2
|
|
|
|
#define STRING 3
|
|
|
|
#define POINTER 4
|
|
|
|
#define LIST 5
|
2018-07-25 14:10:09 +00:00
|
|
|
#define STACK 6
|
|
|
|
#define TREE 7
|
2018-07-30 09:45:33 +00:00
|
|
|
#define LIST_NODE 8
|
|
|
|
#define TREE_NODE 9
|
|
|
|
#define STACK_NODE 10
|
2018-07-23 04:59:16 +00:00
|
|
|
|
2018-07-30 09:45:33 +00:00
|
|
|
#define TYPE_LEN 5
|
2018-07-23 04:59:16 +00:00
|
|
|
|
2018-07-30 09:45:33 +00:00
|
|
|
#define DEEPC 1
|
|
|
|
#define DEEPB 2
|
|
|
|
#define DEEPA 3
|
|
|
|
|
|
|
|
#define DEEPC_LEN 4
|
|
|
|
#define DEEPB_LEN 8
|
|
|
|
#define DEEPA_LEN 32
|
|
|
|
|
|
|
|
#define DATA_BIT 5
|
2018-07-23 04:59:16 +00:00
|
|
|
|
2018-08-03 03:39:16 +00:00
|
|
|
#endif /* type_h */
|