42 xmlNodePtr
root = xmlDocGetRootElement(
doc);
push_value(vm, make_int(nh))
Tagged union representing a Fun value.
Value make_int(int64_t v)
Construct a Value representing a 64-bit integer.
static Value pop_value(VM *vm)
Pop a Value from the VM operand stack.
static int xml_node_alloc(xmlNodePtr n)
Allocate a node handle for the given xmlNode pointer.
static xmlDocPtr xml_doc_get(int h)
Retrieve a registered xmlDoc by handle.