1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-24 21:33:51 +03:00

Fix various problems with "make dist"

* tree.c: missing documentation for xmlBufferDetach
* doc/symbols.xml: add two new symbols xmlTextReaderRelaxNGValidateCtxt
                   and xmlBufferDetach
* doc/apibuild.py: ignore internal header xzlib.h
This commit is contained in:
Daniel Veillard 2012-05-15 10:25:31 +08:00
parent 9f3cdef08a
commit 79ee284abb
3 changed files with 9 additions and 2 deletions

View File

@ -52,6 +52,7 @@ ignored_files = {
"test.c": "not part of the library",
"testdso.c": "test for dynamid shared libraries",
"testrecurse.c": "test for entities recursions",
"xzlib.h": "Internal API only",
}
ignored_words = {

View File

@ -1741,4 +1741,8 @@
<symbol file="globals">xmlStructuredErrorContext</symbol>
<symbol file="xinclude">xmlXIncludeProcessTreeFlagsData</symbol>
</release>
<release version="2.7.9">
<symbol file="xmlreader">xmlTextReaderRelaxNGValidateCtxt</symbol>
<symbol file="tree">xmlBufferDetach</symbol>
</release>
</symbols>

6
tree.c
View File

@ -6934,11 +6934,13 @@ xmlBufferCreateSize(size_t size) {
}
/**
* xmlBufferDetach
* xmlBufferDetach:
* @buf: the buffer
*
* Returns the previous string contained by the buffer.
* Remove the string contained in a buffer and gie it back to the
* caller. The buffer is reset to an emoty content.
*
* Returns the previous string contained by the buffer.
*/
xmlChar *
xmlBufferDetach(xmlBufferPtr buf) {