30 Value vval = pop_value(vm);
34 dictionary *d = ini_get((
vh.type ==
VAL_INT) ? (
int)
vh.i : 0);
38 if (d && sec && key) {
43 ini_make_full_key(full,
sizeof(full), sec, key);
44 memcpy(alt, full,
sizeof(alt));
45 for (
size_t i = 0; i <
sizeof(alt) && alt[i]; ++i) {
52 if (dictionary_set(d, full, valstr) == 0) {
54 }
else if (dictionary_set(d, alt, valstr) == 0) {
push_value(vm, copy_value(&v))
Tagged union representing a Fun value.
char * value_to_string_alloc(const Value *v)
Allocate a printable C string for a Value.
Value make_int(int64_t v)
Construct a Value representing a 64-bit integer.