diff options
Diffstat (limited to 'PC')
-rw-r--r-- | PC/python3.def | 6 | ||||
-rw-r--r-- | PC/python33gen.py | 4 | ||||
-rw-r--r-- | PC/python33stub.def | 6 |
3 files changed, 15 insertions, 1 deletions
diff --git a/PC/python3.def b/PC/python3.def index f16afca..d726525 100644 --- a/PC/python3.def +++ b/PC/python3.def @@ -691,3 +691,9 @@ EXPORTS _Py_SwappedOp=python33._Py_SwappedOp DATA _Py_TrueStruct=python33._Py_TrueStruct DATA _Py_VaBuildValue_SizeT=python33._Py_VaBuildValue_SizeT + _PyArg_Parse_SizeT=python33._PyArg_Parse_SizeT + _PyArg_ParseTuple_SizeT=python33._PyArg_ParseTuple_SizeT + _PyArg_ParseTupleAndKeywords_SizeT=python33._PyArg_ParseTupleAndKeywords_SizeT + _PyArg_VaParse_SizeT=python33._PyArg_VaParse_SizeT + _PyArg_VaParseTupleAndKeywords_SizeT=python33._PyArg_VaParseTupleAndKeywords_SizeT + _Py_BuildValue_SizeT=python33._Py_BuildValue_SizeT diff --git a/PC/python33gen.py b/PC/python33gen.py index a85f417..21b9f56 100644 --- a/PC/python33gen.py +++ b/PC/python33gen.py @@ -7,8 +7,10 @@ out.write('LIBRARY "python33"\n') out.write('EXPORTS\n') inp = open("python3.def") -inp.readline() line = inp.readline() +while line.strip().startswith(';'): + line = inp.readline() +line = inp.readline() # LIBRARY assert line.strip()=='EXPORTS' for line in inp: diff --git a/PC/python33stub.def b/PC/python33stub.def index 4111d30..5b8ccf6 100644 --- a/PC/python33stub.def +++ b/PC/python33stub.def @@ -690,3 +690,9 @@ _Py_NotImplementedStruct _Py_SwappedOp _Py_TrueStruct _Py_VaBuildValue_SizeT +_PyArg_Parse_SizeT +_PyArg_ParseTuple_SizeT +_PyArg_ParseTupleAndKeywords_SizeT +_PyArg_VaParse_SizeT +_PyArg_VaParseTupleAndKeywords_SizeT +_Py_BuildValue_SizeT |