mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-08-01 10:06:59 +03:00
new dictionary module to keep a single instance of the names used by the
* dict.c include/libxml/dict.h Makefile.am include/libxml/Makefile.am: new dictionary module to keep a single instance of the names used by the parser * DOCBparser.c HTMLparser.c parser.c parserInternals.c valid.c: switched all parsers to use the dictionary internally * include/libxml/HTMLparser.h include/libxml/parser.h include/libxml/parserInternals.h include/libxml/valid.h: Some of the interfaces changed as a result to receive or return "const xmlChar *" instead of "xmlChar *", this is either insignificant from an user point of view or when the returning value changed, those function are really parser internal methods that no user code should really change * doc/libxml2-api.xml doc/html/*: the API interface changed and the docs were regenerated Daniel
This commit is contained in:
4
valid.c
4
valid.c
@ -719,7 +719,7 @@ xmlFreeValidCtxt(xmlValidCtxtPtr cur) {
|
||||
* Returns NULL if not, otherwise the new element content structure
|
||||
*/
|
||||
xmlElementContentPtr
|
||||
xmlNewElementContent(xmlChar *name, xmlElementContentType type) {
|
||||
xmlNewElementContent(const xmlChar *name, xmlElementContentType type) {
|
||||
xmlElementContentPtr ret;
|
||||
|
||||
switch(type) {
|
||||
@ -1380,7 +1380,7 @@ xmlDumpElementTable(xmlBufferPtr buf, xmlElementTablePtr table) {
|
||||
* of error.
|
||||
*/
|
||||
xmlEnumerationPtr
|
||||
xmlCreateEnumeration(xmlChar *name) {
|
||||
xmlCreateEnumeration(const xmlChar *name) {
|
||||
xmlEnumerationPtr ret;
|
||||
|
||||
ret = (xmlEnumerationPtr) xmlMalloc(sizeof(xmlEnumeration));
|
||||
|
Reference in New Issue
Block a user