summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2012-06-23 22:00:30 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2012-06-23 22:00:30 (GMT)
commit75aeaa9b18667219bbacbc58ba6efecccef9dfbd (patch)
treee34c35b8cdc8dd35b5b186d2dce28d0c96eb4df2 /PC
parent788306a9ab780555732511d87298dbac3e8e5945 (diff)
downloadcpython-75aeaa9b18667219bbacbc58ba6efecccef9dfbd.zip
cpython-75aeaa9b18667219bbacbc58ba6efecccef9dfbd.tar.gz
cpython-75aeaa9b18667219bbacbc58ba6efecccef9dfbd.tar.bz2
Issue #11626: Add _SizeT functions to stable ABI.
Diffstat (limited to 'PC')
-rw-r--r--PC/python3.def6
-rw-r--r--PC/python33gen.py4
-rw-r--r--PC/python33stub.def6
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