summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2020-11-10 13:47:31 (GMT)
committerGitHub <noreply@github.com>2020-11-10 13:47:31 (GMT)
commit0b9c4c6fcf2b0673fa45ddfa092934a9d5479b8c (patch)
tree73ffdc1affed0b0404a1d7310de2a7920d8f92f4 /PC
parent9303b9ecc39e4e79e34d6ce7258036a9d0876046 (diff)
downloadcpython-0b9c4c6fcf2b0673fa45ddfa092934a9d5479b8c.zip
cpython-0b9c4c6fcf2b0673fa45ddfa092934a9d5479b8c.tar.gz
cpython-0b9c4c6fcf2b0673fa45ddfa092934a9d5479b8c.tar.bz2
bpo-42171: Add PEP573-related items to the limited API (GH-23009)
Diffstat (limited to 'PC')
-rw-r--r--PC/python3dll.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/PC/python3dll.c b/PC/python3dll.c
index d1fdd0a..27cc315 100644
--- a/PC/python3dll.c
+++ b/PC/python3dll.c
@@ -344,6 +344,7 @@ EXPORT_FUNC(PyModule_AddFunctions)
EXPORT_FUNC(PyModule_AddIntConstant)
EXPORT_FUNC(PyModule_AddObject)
EXPORT_FUNC(PyModule_AddStringConstant)
+EXPORT_FUNC(PyModule_AddType)
EXPORT_FUNC(PyModule_Create2)
EXPORT_FUNC(PyModule_ExecDef)
EXPORT_FUNC(PyModule_FromDefAndSpec2)
@@ -547,9 +548,12 @@ EXPORT_FUNC(PyTuple_Size)
EXPORT_FUNC(PyType_ClearCache)
EXPORT_FUNC(PyType_FromSpec)
EXPORT_FUNC(PyType_FromSpecWithBases)
+EXPORT_FUNC(PyType_FromModuleAndSpec)
EXPORT_FUNC(PyType_GenericAlloc)
EXPORT_FUNC(PyType_GenericNew)
EXPORT_FUNC(PyType_GetFlags)
+EXPORT_FUNC(PyType_GetModule)
+EXPORT_FUNC(PyType_GetModuleState)
EXPORT_FUNC(PyType_GetSlot)
EXPORT_FUNC(PyType_IsSubtype)
EXPORT_FUNC(PyType_Modified)