version 1.9.56.1, 2022/01/21 23:14:31
|
version 1.9.56.2, 2022/01/24 16:01:49
|
Line 532 ait_array2vars(const char **args, int dn)
|
Line 532 ait_array2vars(const char **args, int dn)
|
|
|
if (dn) { |
if (dn) { |
n = strtol(*args, &str, 0); |
n = strtol(*args, &str, 0); |
if (!str) { | if (!str || !*str) { |
AIT_SET_I64(val, (int64_t) n); |
AIT_SET_I64(val, (int64_t) n); |
continue; |
continue; |
} |
} |
f = strtof(*args, &str); |
f = strtof(*args, &str); |
if (!str) { | if (!str || !*str) { |
AIT_SET_F32(val, f); |
AIT_SET_F32(val, f); |
continue; |
continue; |
} |
} |
d = strtod(*args, &str); |
d = strtod(*args, &str); |
if (!str) { | if (!str || !*str) { |
AIT_SET_F64(val, d); |
AIT_SET_F64(val, d); |
continue; |
continue; |
} |
} |