on master help sign in
Note why I return unusable things
commitfc1638090b09f3291ec7cfb6f87745a8327717eb authorNeil Mitchell <ndmitchell@gmail.com> dateWed 3 Jan 2018, 22:39 (9 years ago) parent6e52955
1 file changed+1
cbits/hexml.h+1
cbits/hexml.h+1
@@ -21,6 +21,7 @@ typedef struct
2121 str name; // tag name, e.g. <[foo]>
2222 str inner; // inner text, <foo>[bar]</foo>
2323 str outer; // outer text, [<foo>bar</foo>]
24+ // Not usable, but required to get the correct sizing when returning arrays of nodes
2425 str attrs; // all the attributes, in the attribute buffer (not usable)
2526 str nodes; // all the nodes, in the node buffer (not usable)
2627} node;