Fun 0.41.5
The programming language that makes You have fun
Loading...
Searching...
No Matches
unset.c File Reference

VM opcode snippet for removing an INI entry (OP_INI_UNSET). More...

Go to the source code of this file.

Detailed Description

VM opcode snippet for removing an INI entry (OP_INI_UNSET).

Opcode: OP_INI_UNSET Stack: [key:string] [section:string] [handle:int] -> [ok:int]

Behavior

  • Pops key, section, and handle. Removes both "section:key" and a dotted fallback key from the dictionary. Pushes 1 if the operation was attempted (with a valid handle and arguments), otherwise 0.

Notes

  • iniparser 4.2.6 dictionary_unset() returns void; we assume success when called with valid parameters.

Definition in file unset.c.