Closed LSViana closed 1 year ago
The bindings are done but I'm not merging these changes to main
yet because I need to check with the team why yxmlelem_parent
is returning null
if the reference to the XmlElement
instance is retrieved from an Output
cell.
Some follow-up issues were also fixed within this issue's scope:
extern
calls (they're now properly formatted as UTF-8 on both directions);Marshal.SizeOf<T>()
;There's still an open discussion with the team about how to create root-level XmlElement
instances (deciding between yxmlelem()
or yxmlfragment()
) but the fixes, if needed, will be applied by a future PR (probably in the context of the XmlText
bindings).
Implement the bindings for the XmlElement struct based on the exposed bindings.
yxmlelem
yxmlelem_tag
yxmlelem_string
yxmlelem_insert_attr
yxmlelem_remove_attr
yxmlelem_get_attr
yxmlelem_attr_iter
yxmlattr_iter_destroy
yxmlattr_iter_next
yxmlelem_child_len
yxmlelem_insert_text
yxmlelem_insert_elem
yxmlelem_remove_range
yxmlelem_get
yxml_next_sibling
yxml_prev_sibling
yxmlelem_parent
yxmlelem_first_child
yxmlelem_tree_walker
yxmlelem_tree_walker_destroy
yxmlelem_tree_walker_next
yxmlelem_observe
yxmlelem_unobserve
yxmlelem_event_target
yxmlelem_event_path
yxmlelem_event_delta
yxmlelem_event_keys
yobserve_deep
yunobserve_deep
For each bound method, the implementation and unit tests must be written.