diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2004-02-19 12:58:36 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2004-02-19 12:58:36 +0000 |
commit | 49138f1933e51d692dc3c7d91d95cb295ebac325 (patch) | |
tree | 41a23c1bdf3d3993bc563761c4453aec7e628e8c /tree.c | |
parent | b37440047e8f1103fe7322e623369c025862d1cf (diff) | |
download | libxml2-49138f1933e51d692dc3c7d91d95cb295ebac325.tar.gz |
some clarification in xmlDocDumpMemory() documentation fixed xmllint
* tree.c: some clarification in xmlDocDumpMemory() documentation
* xmllint.c: fixed xmllint --stream --timing to get timings back
Daniel
Diffstat (limited to 'tree.c')
-rw-r--r-- | tree.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -8386,8 +8386,10 @@ xmlDocDumpFormatMemoryEnc(xmlDocPtr out_doc, xmlChar **doc_txt_ptr, * @mem: OUT: the memory pointer * @size: OUT: the memory length * - * Dump an XML document in memory and return the #xmlChar * and it's size. - * It's up to the caller to free the memory with xmlFree(). + * Dump an XML document in memory and return the #xmlChar * and it's size + * in bytes. It's up to the caller to free the memory with xmlFree(). + * The resulting byte array is zero terminated, though the last 0 is not + * included in the returned size. */ void xmlDocDumpMemory(xmlDocPtr cur, xmlChar**mem, int *size) { |