![]() |
Fun 0.41.5
The programming language that makes you have fun!
|
VM opcode snippet for XML node name retrieval. More...
Go to the source code of this file.
Functions | |
| free_value (vh) | |
| push_value (vm, make_string(name)) | |
Variables | |
| case | OP_XML_NAME |
| int | h = (vh.type == VAL_INT) ? (int)vh.i : 0 |
| xmlNodePtr | n = xml_node_get(h) |
| const char * | name = (n && n->name) ? (const char *)n->name : "" |
| break | |
VM opcode snippet for XML node name retrieval.
This file is included into the main VM dispatch switch in vm.c and implements the OP_XML_NAME instruction.
Opcode: OP_XML_NAME
Notes
Example
Definition in file name.c.
| free_value | ( | vh | ) |
| push_value | ( | vm | , |
| make_string(name) | ) |
| xmlNodePtr n = xml_node_get(h) |