Tool tweaks and metadata update

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2003-12-24 01:09:51 +00:00
parent 61940a7061
commit 0dd25e819c
3 changed files with 33483 additions and 33479 deletions

View File

@ -24,7 +24,7 @@ echo "Modules: " $MODULES
echo "<?xml version='1.0'?>" > $DEST
echo "<top>" >> $DEST
echo "<wxPython-metadata>" >> $DEST
for m in $MODULES; do
F=$SRC/${m}_swig.xml
@ -32,4 +32,4 @@ for m in $MODULES; do
xsltproc $XSLT $F >> $DEST
done
echo "</top>" >> $DEST
echo "</wxPython-metadata>" >> $DEST

View File

@ -63,14 +63,14 @@ def processModule(newDocNode, modulename):
node = topNode.children
while node is not None:
if node.name == "include":
processInclude(moduleNode, node, 0)
processInclude(moduleNode, node)
node = node.next
doc.freeDoc()
def processInclude(moduleNode, includeNode, level):
def processInclude(moduleNode, includeNode):
"""
Almost everything we are interested in is inside an <include>,
which may also be nested.
@ -91,10 +91,10 @@ def processInclude(moduleNode, includeNode, level):
node = includeNode.children
while node is not None:
if node.name == "insert":
processInsert(moduleNode, node, level)
processInsert(moduleNode, node)
elif node.name == "class":
processClass(moduleNode, node, level)
processClass(moduleNode, node)
elif node.name == "cdecl" and getAttr(node, "view") == "globalfunctionHandler":
func = libxml2.newNode("method")
@ -108,13 +108,13 @@ def processInclude(moduleNode, includeNode, level):
elif node.name == "include":
processInclude(moduleNode, node, level+1)
processInclude(moduleNode, node)
node = node.next
def processInsert(parentNode, insertNode, level):
def processInsert(parentNode, insertNode):
"""
Check for pythoncode
"""
@ -126,7 +126,7 @@ def processInsert(parentNode, insertNode, level):
def processClass(parentNode, classNode, level):
def processClass(parentNode, classNode):
"""
Handle classes, constructors, methods, etc.
"""

File diff suppressed because it is too large Load Diff