mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
Sort python generated stubs
to avoid shuffling each time python changes or on different architectures
This commit is contained in:
committed by
Daniel Veillard
parent
2f3523f61f
commit
10455bb48f
@ -553,7 +553,7 @@ def buildStubs():
|
|||||||
wrapper.write("#include <libxml/xmlschemastypes.h>\n")
|
wrapper.write("#include <libxml/xmlschemastypes.h>\n")
|
||||||
wrapper.write("#include \"libxml_wrap.h\"\n")
|
wrapper.write("#include \"libxml_wrap.h\"\n")
|
||||||
wrapper.write("#include \"libxml2-py.h\"\n\n")
|
wrapper.write("#include \"libxml2-py.h\"\n\n")
|
||||||
for function in functions.keys():
|
for function in sorted(functions.keys()):
|
||||||
ret = print_function_wrapper(function, wrapper, export, include)
|
ret = print_function_wrapper(function, wrapper, export, include)
|
||||||
if ret < 0:
|
if ret < 0:
|
||||||
failed = failed + 1
|
failed = failed + 1
|
||||||
@ -856,7 +856,7 @@ def buildWrappers():
|
|||||||
if tinfo[2] == classe:
|
if tinfo[2] == classe:
|
||||||
ctypes.append(type)
|
ctypes.append(type)
|
||||||
ctypes_processed[type] = ()
|
ctypes_processed[type] = ()
|
||||||
for type in classes_type.keys():
|
for type in sorted(classes_type.keys()):
|
||||||
if ctypes_processed.has_key(type):
|
if ctypes_processed.has_key(type):
|
||||||
continue
|
continue
|
||||||
tinfo = classes_type[type]
|
tinfo = classes_type[type]
|
||||||
|
Reference in New Issue
Block a user