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