diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-09-01 13:51:33 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-09-01 13:51:33 +0100 |
commit | 0338d09eea66ede52ee364b8ca05986054bd077c (patch) | |
tree | 0fe98450a9f9aebd31b11a6abb74dbc055b1edd2 /bindings | |
parent | d8a43372a5c9b3e40b55b21bf6a07dfcfc6e61a6 (diff) | |
download | libdom-0338d09eea66ede52ee364b8ca05986054bd077c.tar.gz libdom-0338d09eea66ede52ee364b8ca05986054bd077c.tar.bz2 |
Fix some doxygen warnings
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/xml/expat_xmlparser.c | 5 | ||||
-rw-r--r-- | bindings/xml/libxml_xmlparser.c | 10 |
2 files changed, 8 insertions, 7 deletions
diff --git a/bindings/xml/expat_xmlparser.c b/bindings/xml/expat_xmlparser.c index f2ffc76..e1c22ad 100644 --- a/bindings/xml/expat_xmlparser.c +++ b/bindings/xml/expat_xmlparser.c @@ -440,6 +440,7 @@ expat_xmlparser_unknown_data_handler(void *_parser, * \param int_enc Desired charset of document buffer (UTF-8 or UTF-16) * \param msg Informational message function * \param mctx Pointer to client-specific private data + * \param document DOM Document * \return Pointer to instance, or NULL on memory exhaustion * * int_enc is ignored due to it being made of bees. @@ -547,7 +548,7 @@ dom_xml_parser_destroy(dom_xml_parser *parser) * \param parser The XML parser instance to use for parsing * \param data Pointer to data chunk * \param len Byte length of data chunk - * \return DOM_XML_OK on success, DOM_XML_EXTERNAL_ERR | <expat error> on failure + * \return DOM_XML_OK on success, DOM_XML_EXTERNAL_ERR | expat error on failure */ dom_xml_error dom_xml_parser_parse_chunk(dom_xml_parser *parser, uint8_t *data, size_t len) @@ -568,7 +569,7 @@ dom_xml_parser_parse_chunk(dom_xml_parser *parser, uint8_t *data, size_t len) * Notify parser that datastream is empty * * \param parser The XML parser instance to notify - * \return DOM_XML_OK on success, DOM_XML_EXTERNAL_ERR | <expat error> on failure + * \return DOM_XML_OK on success, DOM_XML_EXTERNAL_ERR | expat error on failure * * This will force any remaining data through the parser */ diff --git a/bindings/xml/libxml_xmlparser.c b/bindings/xml/libxml_xmlparser.c index 87b137d..02b8a34 100644 --- a/bindings/xml/libxml_xmlparser.c +++ b/bindings/xml/libxml_xmlparser.c @@ -160,7 +160,7 @@ static void *dom_xml_alloc(void *ptr, size_t len, void *pw) * \param mctx Pointer to client-specific private data * \return Pointer to instance, or NULL on memory exhaustion * - * Neither ::enc nor ::int_enc are used here. + * Neither \p enc nor \p int_enc are used here. * libxml only supports a UTF-8 document buffer and forcibly setting the * parser encoding is not yet implemented */ @@ -257,7 +257,7 @@ void dom_xml_parser_destroy(dom_xml_parser *parser) * \param parser The XML parser instance to use for parsing * \param data Pointer to data chunk * \param len Byte length of data chunk - * \return DOM_XML_OK on success, DOM_XML_EXTERNAL_ERR | <libxml error> on failure + * \return DOM_XML_OK on success, DOM_XML_EXTERNAL_ERR | libxml error on failure */ dom_xml_error dom_xml_parser_parse_chunk(dom_xml_parser *parser, uint8_t *data, size_t len) @@ -278,7 +278,7 @@ dom_xml_error dom_xml_parser_parse_chunk(dom_xml_parser *parser, * Notify parser that datastream is empty * * \param parser The XML parser instance to notify - * \return DOM_XML_OK on success, DOM_XML_EXTERNAL_ERR | <libxml error> on failure + * \return DOM_XML_OK on success, DOM_XML_EXTERNAL_ERR | libxml error on failure * * This will force any remaining data through the parser */ @@ -386,8 +386,8 @@ void xml_parser_end_document(void *ctx) * \param nb_defaulted The number of defaulted attributes * \param attributes Array of nb_attributes attribute values * - * The number of non-defaulted attributes is ::nb_attributes - ::nb_defaulted - * The defaulted attributes are at the end of the array ::attributes. + * The number of non-defaulted attributes is \p nb_attributes - \p nb_defaulted + * The defaulted attributes are at the end of the array \p attributes. */ void xml_parser_start_element_ns(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, |