1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

fixing some comments to avoid warnings from apibuild.py Daniel

* SAX2.c hash.c parser.c include/libxml/xmlexports.h
  include/libxml/xmlmemory.h include/libxml/xmlversion.h.in:
  fixing some comments to avoid warnings from apibuild.py
Daniel
This commit is contained in:
Daniel Veillard
2003-09-25 12:18:34 +00:00
parent 70b185648c
commit 7a02cfe0d7
9 changed files with 41 additions and 14 deletions

View File

@ -1,3 +1,9 @@
Thu Sep 25 14:16:51 CEST 2003 Daniel Veillard <daniel@veillard.com>
* SAX2.c hash.c parser.c include/libxml/xmlexports.h
include/libxml/xmlmemory.h include/libxml/xmlversion.h.in:
fixing some comments to avoid warnings from apibuild.py
Wed Sep 24 23:42:08 CEST 2003 Daniel Veillard <daniel@veillard.com> Wed Sep 24 23:42:08 CEST 2003 Daniel Veillard <daniel@veillard.com>
* win32/configure.js: patch from Stephane Bidoul for configuring * win32/configure.js: patch from Stephane Bidoul for configuring

2
SAX2.c
View File

@ -1877,7 +1877,7 @@ xmlSAX2AttributeNs(xmlParserCtxtPtr ctxt,
* @nb_namespaces: number of namespace definitions on that node * @nb_namespaces: number of namespace definitions on that node
* @namespaces: pointer to the array of prefix/URI pairs namespace definitions * @namespaces: pointer to the array of prefix/URI pairs namespace definitions
* @nb_attributes: the number of attributes on that node * @nb_attributes: the number of attributes on that node
* nb_defaulted: the number of defaulted attributes. * @nb_defaulted: the number of defaulted attributes.
* @attributes: pointer to the array of (localname/prefix/URI/value/end) * @attributes: pointer to the array of (localname/prefix/URI/value/end)
* attribute values. * attribute values.
* *

View File

@ -1057,6 +1057,7 @@
<exports symbol='XML_PARSE_DTDLOAD'/> <exports symbol='XML_PARSE_DTDLOAD'/>
<exports symbol='XML_PARSE_DTDVALID'/> <exports symbol='XML_PARSE_DTDVALID'/>
<exports symbol='XML_PARSE_NOBLANKS'/> <exports symbol='XML_PARSE_NOBLANKS'/>
<exports symbol='XML_PARSE_NODICT'/>
<exports symbol='XML_PARSE_NOENT'/> <exports symbol='XML_PARSE_NOENT'/>
<exports symbol='XML_PARSE_NOERROR'/> <exports symbol='XML_PARSE_NOERROR'/>
<exports symbol='XML_PARSE_NONET'/> <exports symbol='XML_PARSE_NONET'/>
@ -1500,6 +1501,7 @@
<exports symbol='xmlDictOwns'/> <exports symbol='xmlDictOwns'/>
<exports symbol='xmlDictPtr'/> <exports symbol='xmlDictPtr'/>
<exports symbol='xmlDictQLookup'/> <exports symbol='xmlDictQLookup'/>
<exports symbol='xmlDictReference'/>
<exports symbol='xmlDictSize'/> <exports symbol='xmlDictSize'/>
</file> </file>
<file name='xmlexports'> <file name='xmlexports'>
@ -2906,9 +2908,10 @@
<enum name='XML_PARSE_DTDLOAD' file='parser' value='4' type='xmlParserOption' info='load the external subset'/> <enum name='XML_PARSE_DTDLOAD' file='parser' value='4' type='xmlParserOption' info='load the external subset'/>
<enum name='XML_PARSE_DTDVALID' file='parser' value='16' type='xmlParserOption' info='validate with the DTD'/> <enum name='XML_PARSE_DTDVALID' file='parser' value='16' type='xmlParserOption' info='validate with the DTD'/>
<enum name='XML_PARSE_NOBLANKS' file='parser' value='256' type='xmlParserOption' info='remove blank nodes'/> <enum name='XML_PARSE_NOBLANKS' file='parser' value='256' type='xmlParserOption' info='remove blank nodes'/>
<enum name='XML_PARSE_NODICT' file='parser' value='4096' type='xmlParserOption' info=' Do not reuse the context dictionnary'/>
<enum name='XML_PARSE_NOENT' file='parser' value='2' type='xmlParserOption' info='substitute entities'/> <enum name='XML_PARSE_NOENT' file='parser' value='2' type='xmlParserOption' info='substitute entities'/>
<enum name='XML_PARSE_NOERROR' file='parser' value='32' type='xmlParserOption' info='suppress error reports'/> <enum name='XML_PARSE_NOERROR' file='parser' value='32' type='xmlParserOption' info='suppress error reports'/>
<enum name='XML_PARSE_NONET' file='parser' value='2048' type='xmlParserOption' info=' Forbid network access'/> <enum name='XML_PARSE_NONET' file='parser' value='2048' type='xmlParserOption' info='Forbid network access'/>
<enum name='XML_PARSE_NOWARNING' file='parser' value='64' type='xmlParserOption' info='suppress warning reports'/> <enum name='XML_PARSE_NOWARNING' file='parser' value='64' type='xmlParserOption' info='suppress warning reports'/>
<enum name='XML_PARSE_PEDANTIC' file='parser' value='128' type='xmlParserOption' info='pedantic error reporting'/> <enum name='XML_PARSE_PEDANTIC' file='parser' value='128' type='xmlParserOption' info='pedantic error reporting'/>
<enum name='XML_PARSE_RECOVER' file='parser' value='1' type='xmlParserOption' info='recover on errors'/> <enum name='XML_PARSE_RECOVER' file='parser' value='1' type='xmlParserOption' info='recover on errors'/>
@ -5891,6 +5894,11 @@ actually an xmlCharEncoding'/>
<arg name='prefix' type='const xmlChar *' info='the prefix'/> <arg name='prefix' type='const xmlChar *' info='the prefix'/>
<arg name='name' type='const xmlChar *' info='the name'/> <arg name='name' type='const xmlChar *' info='the name'/>
</function> </function>
<function name='xmlDictReference' file='dict'>
<info>Increment the reference counter of a dictionary</info>
<return type='int' info='0 in case of success and -1 in case of error'/>
<arg name='dict' type='xmlDictPtr' info='the dictionnary'/>
</function>
<function name='xmlDictSize' file='dict'> <function name='xmlDictSize' file='dict'>
<info>Query the number of elements installed in the hash @dict.</info> <info>Query the number of elements installed in the hash @dict.</info>
<return type='int' info='the number of elements in the dictionnary or -1 in case of error'/> <return type='int' info='the number of elements in the dictionnary or -1 in case of error'/>

2
hash.c
View File

@ -423,7 +423,7 @@ xmlHashQLookup(xmlHashTablePtr table, const xmlChar *prefix,
} }
/** /**
* xmlHashLookup2: * xmlHashQLookup2:
* @table: the hash table * @table: the hash table
* @prefix: the prefix of the userdata * @prefix: the prefix of the userdata
* @name: the name of the userdata * @name: the name of the userdata

View File

@ -21,10 +21,23 @@
* platform might need different definitions. * platform might need different definitions.
*/ */
/* Defaults. These will be used on platforms which /**
do not appear below. */ * XMLPUBFUN:
*
* Macros which declare an exportable function
*/
#define XMLPUBFUN #define XMLPUBFUN
/**
* XMLPUBVAR:
*
* Macros which declare an exportable variable
*/
#define XMLPUBVAR extern #define XMLPUBVAR extern
/**
* XMLCALL:
*
* Macros which declare the called convention for exported functions
*/
#define XMLCALL #define XMLCALL
/* Windows platform with MS compiler */ /* Windows platform with MS compiler */

View File

@ -5,8 +5,8 @@
*/ */
#ifndef _DEBUG_MEMORY_ALLOC_ #ifndef __DEBUG_MEMORY_ALLOC__
#define _DEBUG_MEMORY_ALLOC_ #define __DEBUG_MEMORY_ALLOC__
#include <stdio.h> #include <stdio.h>
#include <libxml/xmlversion.h> #include <libxml/xmlversion.h>
@ -207,5 +207,5 @@ XMLPUBFUN char * XMLCALL
#endif #endif
#endif #endif
#endif /* _DEBUG_MEMORY_ALLOC_ */ #endif /* __DEBUG_MEMORY_ALLOC__ */

View File

@ -201,7 +201,7 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
#endif #endif
/** /**
* LIBXML_UNICODE_ENABLED * LIBXML_UNICODE_ENABLED:
* *
* Whether the Unicode related interfaces are compiled in * Whether the Unicode related interfaces are compiled in
*/ */
@ -210,7 +210,7 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
#endif #endif
/** /**
* LIBXML_REGEXP_ENABLED * LIBXML_REGEXP_ENABLED:
* *
* Whether the regular expressions interfaces are compiled in * Whether the regular expressions interfaces are compiled in
*/ */
@ -219,7 +219,7 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
#endif #endif
/** /**
* LIBXML_AUTOMATA_ENABLED * LIBXML_AUTOMATA_ENABLED:
* *
* Whether the automata interfaces are compiled in * Whether the automata interfaces are compiled in
*/ */
@ -228,7 +228,7 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
#endif #endif
/** /**
* LIBXML_SCHEMAS_ENABLED * LIBXML_SCHEMAS_ENABLED:
* *
* Whether the Schemas validation interfaces are compiled in * Whether the Schemas validation interfaces are compiled in
*/ */

View File

@ -1675,7 +1675,7 @@ xmlParserHandlePEReference(xmlParserCtxtPtr ctxt) {
} }
/** /**
* xmlStringDecodeEntities: * xmlStringLenDecodeEntities:
* @ctxt: the parser context * @ctxt: the parser context
* @str: the input string * @str: the input string
* @len: the string length * @len: the string length

View File

@ -2968,7 +2968,7 @@ xmlTextReaderXmlLang(xmlTextReaderPtr reader) {
} }
/** /**
* xmlTextReaderXmlLang: * xmlTextReaderConstXmlLang:
* @reader: the xmlTextReaderPtr used * @reader: the xmlTextReaderPtr used
* *
* The xml:lang scope within which the node resides. * The xml:lang scope within which the node resides.