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

fixed a stupid error breaking the python API Daniel

* python/generator.py python/libxml2class.txt: fixed a stupid error
  breaking the python API
Daniel
This commit is contained in:
Daniel Veillard
2002-09-26 09:34:23 +00:00
parent b7c29c38f5
commit d4cb1e8a5f
3 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,8 @@
Thu Sep 26 11:33:28 CEST 2002 Daniel Veillard <daniel@veillard.com>
* python/generator.py python/libxml2class.txt: fixed a stupid error
breaking the python API
Thu Sep 26 00:31:46 CEST 2002 Daniel Veillard <daniel@veillard.com>
* trio.c trio.h triodef.h trionan.c trionan.h triop.h

View File

@ -672,9 +672,9 @@ def nameFixup(name, classe, type, file):
elif name[0:20] == "xmlParserInputBuffer" and file != "python":
func = name[20:]
func = string.lower(func[0:1]) + func[1:]
elif name[0:9] == "xmlRegexp":
elif name[0:9] == "xmlRegexp" and file == "xmlregexp":
func = "regexp" + name[9:]
elif name[0:6] == "xmlReg":
elif name[0:6] == "xmlReg" and file == "xmlregexp":
func = "regexp" + name[6:]
elif name[0:11] == "xmlACatalog":
func = name[11:]

View File

@ -123,7 +123,7 @@ dumpMemory()
htmlCreatePushParser()
htmlSAXParseFile()
newNode()
regexpisterErrorHandler()
registerErrorHandler()
setEntityLoader()
# functions from module tree
@ -158,9 +158,9 @@ iOFTPMatch()
iOHTTPMatch()
normalizeWindowsPath()
parserGetDirectory()
regexpisterDefaultInputCallbacks()
regexpisterDefaultOutputCallbacks()
regexpisterHTTPPostCallbacks()
registerDefaultInputCallbacks()
registerDefaultOutputCallbacks()
registerHTTPPostCallbacks()
# functions from module xmlregexp
regexpCompile()
@ -734,7 +734,7 @@ Class xpathContext()
setContextNode()
# functions from module python
regexpisterXPathFunction()
registerXPathFunction()
# functions from module xpath
xpathEval()