diff options
author | chai <chaifix@163.com> | 2018-06-06 07:58:47 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-06-06 07:58:47 +0800 |
commit | 726fa81bf2597aa4b3d14a89915993eaa9d62908 (patch) | |
tree | 16d68b2387394cc2a7b24cc6f009bcb394bf077f /lls/lls.c | |
parent | 24cce4c24a155b726dc3b2c120defef6a94638fa (diff) |
更新数据类型
Diffstat (limited to 'lls/lls.c')
-rw-r--r-- | lls/lls.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -5,10 +5,11 @@ enum { VT_UNKNOWN = 0, VT_NULL, // null | | - VT_NUMBER, // number | float | + VT_REAL, // real | float | VT_STRING, // string | char* | VT_BOOLEAN, // boolean | char | - VT_SET, // set | struct | + VT_SET, // set | void* | + VT_ARRAY, // array | void* | VT_FUNCTION, // function | void* | ڴͬĺ }; @@ -17,10 +18,12 @@ typedef struct int type; union { - float _number; + float _real; char* _string; char _bool; - void* _struct; + void* _set; + void* _array; + int _func; } value; } lls_Value; |