![]() |
Fun 0.41.5
The programming language that makes you have fun!
|
VM opcode snippet for retrieving the concatenated text of an XML node. More...
Go to the source code of this file.
Functions | |
| free_value (vh) | |
| if (!n) | |
| push_value (vm, make_string((const char *) content)) | |
| xmlFree (content) | |
Variables | |
| case | OP_XML_TEXT |
| int | h = (vh.type == VAL_INT) ? (int)vh.i : 0 |
| xmlNodePtr | n = xml_node_get(h) |
| xmlChar * | content = xmlNodeGetContent(n) |
| break | |
VM opcode snippet for retrieving the concatenated text of an XML node.
Included by vm.c; implements OP_XML_TEXT.
Opcode: OP_XML_TEXT
Notes
Example
Definition in file text.c.
| free_value | ( | vh | ) |
| push_value | ( | vm | , |
| make_string((const char *) content) | ) |
| xmlFree | ( | content | ) |
| xmlNodePtr n = xml_node_get(h) |