1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-31 06:50:06 +03:00

parser: Update documentation

This commit is contained in:
Nick Wellnhofer 2024-06-27 16:23:14 +02:00
parent f4e63f7a4f
commit bc793390d5
2 changed files with 20 additions and 0 deletions

View File

@ -10408,6 +10408,8 @@ xmlParseXMLDecl(xmlParserCtxtPtr ctxt) {
* xmlCtxtGetVersion:
* ctxt: parser context
*
* Available since 2.14.0.
*
* Returns the version from the XML declaration.
*/
const xmlChar *
@ -10422,6 +10424,8 @@ xmlCtxtGetVersion(xmlParserCtxtPtr ctxt) {
* xmlCtxtGetStandalone:
* ctxt: parser context
*
* Available since 2.14.0.
*
* Returns the value from the standalone document declaration.
*/
int

View File

@ -428,6 +428,8 @@ xmlCtxtErr(xmlParserCtxtPtr ctxt, xmlNodePtr node, xmlErrorDomain domain,
* reports catastrophic errors which are not related to parsing
* like out-of-memory, I/O or other errors.
*
* Available since 2.14.0.
*
* Returns a bitmask of XML_STATUS_* flags ORed together.
*/
int
@ -1591,6 +1593,8 @@ xmlSetDeclaredEncoding(xmlParserCtxtPtr ctxt, xmlChar *encoding) {
* xmlCtxtGetDeclaredEncoding:
* ctxt: parser context
*
* Available since 2.14.0.
*
* Returns the encoding from the encoding declaration. This can differ
* from the actual encoding.
*/
@ -2944,6 +2948,8 @@ xmlNewSAXParserCtxt(const xmlSAXHandler *sax, void *userData)
* xmlCtxtGetPrivate:
* ctxt: parser context
*
* Available since 2.14.0.
*
* Returns the private application data.
*/
void *
@ -2959,6 +2965,8 @@ xmlCtxtGetPrivate(xmlParserCtxtPtr ctxt) {
* ctxt: parser context
* priv: private application data
*
* Available since 2.14.0.
*
* Set the private application data.
*/
void
@ -2973,6 +2981,8 @@ xmlCtxtSetPrivate(xmlParserCtxtPtr ctxt, void *priv) {
* xmlCtxtGetCatalogs:
* ctxt: parser context
*
* Available since 2.14.0.
*
* Returns the local catalogs.
*/
void *
@ -2988,6 +2998,8 @@ xmlCtxtGetCatalogs(xmlParserCtxtPtr ctxt) {
* ctxt: parser context
* catalogs: catalogs pointer
*
* Available since 2.14.0.
*
* Set the local catalogs.
*/
void
@ -3002,6 +3014,8 @@ xmlCtxtSetCatalogs(xmlParserCtxtPtr ctxt, void *catalogs) {
* xmlCtxtGetDict:
* ctxt: parser context
*
* Available since 2.14.0.
*
* Returns the dictionary.
*/
xmlDictPtr
@ -3017,6 +3031,8 @@ xmlCtxtGetDict(xmlParserCtxtPtr ctxt) {
* ctxt: parser context
* dict: dictionary
*
* Available since 2.14.0.
*
* Set the dictionary. This should only be done immediately after
* creating a parser context.
*/