![]() |
Fun 0.41.5
The programming language that makes you have fun!
|
VM opcode snippet for saving an INI dictionary to a file (OP_INI_SAVE). More...
Go to the source code of this file.
Functions | |
| if (d &&path) | |
| free_value (vpath) | |
| free_value (vh) | |
| push_value (vm, make_int(ok)) | |
Variables | |
| case | OP_INI_SAVE |
| Value | vh = pop_value(vm) |
| const char * | path = (vpath.type == VAL_STRING) ? vpath.s : NULL |
| dictionary * | d = ini_get((vh.type == VAL_INT) ? (int)vh.i : 0) |
| int | ok = 0 |
| break | |
VM opcode snippet for saving an INI dictionary to a file (OP_INI_SAVE).
Opcode: OP_INI_SAVE Stack: [path:string] [handle:int] -> [ok:int]
Behavior
Errors
Definition in file save.c.
| free_value | ( | vh | ) |
| free_value | ( | vpath | ) |
| const char* path = (vpath.type == VAL_STRING) ? vpath.s : NULL |