Commit 7be0acc189ec7b831dce1255ac3e498c0002305e
1 parent
5c7cd864
add support of word8, word16, word32, float32, float64
Showing
1 changed file
with
14 additions
and
6 deletions
Show diff stats
types/ds_types.anubis
| ... | ... | @@ -15,8 +15,12 @@ public type DS_Anubis_Type: |
| 15 | 15 | one, |
| 16 | 16 | bool, |
| 17 | 17 | int, |
| 18 | + word8, | |
| 19 | + word16, | |
| 20 | + word32, | |
| 18 | 21 | string, |
| 19 | - float, | |
| 22 | + float32, | |
| 23 | + float64, | |
| 20 | 24 | ds_type (String type_name), |
| 21 | 25 | extern_type (String type_name, String read). //external type. No need to check |
| 22 | 26 | |
| ... | ... | @@ -159,11 +163,15 @@ public define String |
| 159 | 163 | )= |
| 160 | 164 | if anb_type is |
| 161 | 165 | { |
| 162 | - one then "One", | |
| 163 | - bool then "Bool", | |
| 164 | - int then "Int", | |
| 165 | - string then "String", | |
| 166 | - float then "Float", | |
| 166 | + one then "One", | |
| 167 | + bool then "Bool", | |
| 168 | + int then "Int", | |
| 169 | + word8 then "Word8", | |
| 170 | + word16 then "Word16", | |
| 171 | + word32 then "Word32", | |
| 172 | + string then "String", | |
| 173 | + float32 then "Float32", | |
| 174 | + float64 then "Float64", | |
| 167 | 175 | ds_type(type_name) then type_name, |
| 168 | 176 | extern_type(type_name, read) then type_name, |
| 169 | 177 | } | ... | ... |