![]() | Fun 0.41.5 The programming language that makes You have fun |
Stub opcode implementations for INI support when FUN_WITH_INI is disabled. More...
Go to the source code of this file.
Functions | |
| free_value (vpath) | |
| fun_vm_fprintf (stderr, "Runtime error: INI support disabled (rebuild with -DFUN_WITH_INI=ON)\n") | |
| push_value (vm, make_int(0)) | |
| free_value (vh) | |
| free_value (vsec) | |
| free_value (vkey) | |
| push_value (vm, make_string("")) | |
| free_value (vdef) | |
| push_value (vm, make_float(0.0)) | |
| free_value (vval) | |
Variables | |
| case | OP_INI_LOAD |
| void | vpath |
| break | |
| case | OP_INI_FREE |
| case | OP_INI_GET_STRING |
| Value | vkey = pop_value(vm) |
| Value | vsec = pop_value(vm) |
| Value | vh = pop_value(vm) |
| case | OP_INI_GET_INT |
| void | vdef |
| case | OP_INI_GET_DOUBLE |
| case | OP_INI_GET_BOOL |
| case | OP_INI_SET |
| case | OP_INI_UNSET |
| case | OP_INI_SAVE |
Stub opcode implementations for INI support when FUN_WITH_INI is disabled.
These cases are compiled into the VM dispatch when the INI feature is not enabled. Each opcode prints a descriptive runtime error and pushes a safe default (0, 0.0, or empty string) to keep execution proceeding without crashing.
Definition in file stubs.c.
| free_value | ( | vdef | ) |
| free_value | ( | vh | ) |
| free_value | ( | vkey | ) |
| free_value | ( | vpath | ) |
| free_value | ( | vsec | ) |
| free_value | ( | vval | ) |
| fun_vm_fprintf | ( | stderr | , |
| "Runtime error: INI support disabled (rebuild with -DFUN_WITH_INI=ON)\n" | ) |
| push_value | ( | vm | , |
| make_float(0.0) | ) |
| push_value | ( | vm | , |
| make_int(0) | ) |
| push_value | ( | vm | , |
| make_string("") | ) |