diff options
author | Petr Viktorin <encukou@gmail.com> | 2021-04-29 09:33:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 09:33:14 (GMT) |
commit | f6ee4dad589c0953283dacb577a2d808fda7aae9 (patch) | |
tree | 76821968abd70559e9929324a3be3a08f163b26a /PC | |
parent | 645ed62fb4c09b7e23887fcca0767b0f2d7d3fd6 (diff) | |
download | cpython-f6ee4dad589c0953283dacb577a2d808fda7aae9.zip cpython-f6ee4dad589c0953283dacb577a2d808fda7aae9.tar.gz cpython-f6ee4dad589c0953283dacb577a2d808fda7aae9.tar.bz2 |
bpo-43795: Generate python3dll.c and doc data from manifest (PEP 652) (GH-25315)
Diffstat (limited to 'PC')
-rwxr-xr-x[-rw-r--r--] | PC/python3dll.c | 63 |
1 files changed, 42 insertions, 21 deletions
diff --git a/PC/python3dll.c b/PC/python3dll.c index e5a21ed..a53ec63 100644..100755 --- a/PC/python3dll.c +++ b/PC/python3dll.c @@ -1,4 +1,7 @@ -/* Re-export stable Python API */ + +/* Re-export stable Python ABI */ + +/* Generated by Tools/scripts/stable_abi.py */ #ifdef _M_IX86 #define DECORATE "_" @@ -41,6 +44,7 @@ EXPORT_FUNC(_PyTrash_thread_destroy_chain) EXPORT_FUNC(Py_AddPendingCall) EXPORT_FUNC(Py_AtExit) EXPORT_FUNC(Py_BuildValue) +EXPORT_FUNC(Py_BytesMain) EXPORT_FUNC(Py_CompileString) EXPORT_FUNC(Py_DecodeLocale) EXPORT_FUNC(Py_DecRef) @@ -70,7 +74,11 @@ EXPORT_FUNC(Py_GetVersion) EXPORT_FUNC(Py_IncRef) EXPORT_FUNC(Py_Initialize) EXPORT_FUNC(Py_InitializeEx) +EXPORT_FUNC(Py_Is) +EXPORT_FUNC(Py_IsFalse) EXPORT_FUNC(Py_IsInitialized) +EXPORT_FUNC(Py_IsNone) +EXPORT_FUNC(Py_IsTrue) EXPORT_FUNC(Py_LeaveRecursiveCall) EXPORT_FUNC(Py_Main) EXPORT_FUNC(Py_MakePendingCalls) @@ -84,6 +92,7 @@ EXPORT_FUNC(Py_SetPythonHome) EXPORT_FUNC(Py_SetRecursionLimit) EXPORT_FUNC(Py_VaBuildValue) EXPORT_FUNC(Py_XNewRef) +EXPORT_FUNC(PyAiter_Check) EXPORT_FUNC(PyArg_Parse) EXPORT_FUNC(PyArg_ParseTuple) EXPORT_FUNC(PyArg_ParseTupleAndKeywords) @@ -230,14 +239,12 @@ EXPORT_FUNC(PyEval_EvalCodeEx) EXPORT_FUNC(PyEval_EvalFrame) EXPORT_FUNC(PyEval_EvalFrameEx) EXPORT_FUNC(PyEval_GetBuiltins) -EXPORT_FUNC(PyEval_GetCallStats) EXPORT_FUNC(PyEval_GetFrame) EXPORT_FUNC(PyEval_GetFuncDesc) EXPORT_FUNC(PyEval_GetFuncName) EXPORT_FUNC(PyEval_GetGlobals) EXPORT_FUNC(PyEval_GetLocals) EXPORT_FUNC(PyEval_InitThreads) -EXPORT_FUNC(PyEval_ReInitThreads) EXPORT_FUNC(PyEval_ReleaseLock) EXPORT_FUNC(PyEval_ReleaseThread) EXPORT_FUNC(PyEval_RestoreThread) @@ -270,7 +277,6 @@ EXPORT_FUNC(PyGILState_Release) EXPORT_FUNC(PyImport_AddModule) EXPORT_FUNC(PyImport_AddModuleObject) EXPORT_FUNC(PyImport_AppendInittab) -EXPORT_FUNC(PyImport_Cleanup) EXPORT_FUNC(PyImport_ExecCodeModule) EXPORT_FUNC(PyImport_ExecCodeModuleEx) EXPORT_FUNC(PyImport_ExecCodeModuleObject) @@ -291,6 +297,8 @@ EXPORT_FUNC(PyImport_ReloadModule) EXPORT_FUNC(PyIndex_Check) EXPORT_FUNC(PyInterpreterState_Clear) EXPORT_FUNC(PyInterpreterState_Delete) +EXPORT_FUNC(PyInterpreterState_Get) +EXPORT_FUNC(PyInterpreterState_GetDict) EXPORT_FUNC(PyInterpreterState_GetID) EXPORT_FUNC(PyInterpreterState_New) EXPORT_FUNC(PyIter_Check) @@ -339,10 +347,14 @@ EXPORT_FUNC(PyMapping_Length) EXPORT_FUNC(PyMapping_SetItemString) EXPORT_FUNC(PyMapping_Size) EXPORT_FUNC(PyMapping_Values) +EXPORT_FUNC(PyMarshal_ReadObjectFromString) +EXPORT_FUNC(PyMarshal_WriteObjectToString) EXPORT_FUNC(PyMem_Calloc) EXPORT_FUNC(PyMem_Free) EXPORT_FUNC(PyMem_Malloc) EXPORT_FUNC(PyMem_Realloc) +EXPORT_FUNC(PyMember_GetOne) +EXPORT_FUNC(PyMember_SetOne) EXPORT_FUNC(PyMemoryView_FromMemory) EXPORT_FUNC(PyMemoryView_FromObject) EXPORT_FUNC(PyMemoryView_GetContiguous) @@ -421,12 +433,15 @@ EXPORT_FUNC(PyObject_Dir) EXPORT_FUNC(PyObject_Format) EXPORT_FUNC(PyObject_Free) EXPORT_FUNC(PyObject_GC_Del) +EXPORT_FUNC(PyObject_GC_IsFinalized) +EXPORT_FUNC(PyObject_GC_IsTracked) EXPORT_FUNC(PyObject_GC_Track) EXPORT_FUNC(PyObject_GC_UnTrack) EXPORT_FUNC(PyObject_GenericGetAttr) EXPORT_FUNC(PyObject_GenericGetDict) EXPORT_FUNC(PyObject_GenericSetAttr) EXPORT_FUNC(PyObject_GenericSetDict) +EXPORT_FUNC(PyObject_GetAiter) EXPORT_FUNC(PyObject_GetAttr) EXPORT_FUNC(PyObject_GetAttrString) EXPORT_FUNC(PyObject_GetItem) @@ -454,11 +469,6 @@ EXPORT_FUNC(PyObject_SetItem) EXPORT_FUNC(PyObject_Size) EXPORT_FUNC(PyObject_Str) EXPORT_FUNC(PyObject_Type) -EXPORT_FUNC(PyODict_DelItem) -EXPORT_FUNC(PyODict_New) -EXPORT_FUNC(PyODict_SetItem) -EXPORT_FUNC(PyOS_AfterFork) -EXPORT_FUNC(PyOS_CheckStack) EXPORT_FUNC(PyOS_double_to_string) EXPORT_FUNC(PyOS_FSPath) EXPORT_FUNC(PyOS_getsig) @@ -471,9 +481,6 @@ EXPORT_FUNC(PyOS_string_to_double) EXPORT_FUNC(PyOS_strtol) EXPORT_FUNC(PyOS_strtoul) EXPORT_FUNC(PyOS_vsnprintf) -EXPORT_FUNC(PyParser_SimpleParseFileFlags) -EXPORT_FUNC(PyParser_SimpleParseStringFlags) -EXPORT_FUNC(PyParser_SimpleParseStringFlagsFilename) EXPORT_FUNC(PySeqIter_New) EXPORT_FUNC(PySequence_Check) EXPORT_FUNC(PySequence_Concat) @@ -529,6 +536,25 @@ EXPORT_FUNC(PySys_SetObject) EXPORT_FUNC(PySys_SetPath) EXPORT_FUNC(PySys_WriteStderr) EXPORT_FUNC(PySys_WriteStdout) +EXPORT_FUNC(PyThread_acquire_lock) +EXPORT_FUNC(PyThread_acquire_lock_timed) +EXPORT_FUNC(PyThread_allocate_lock) +EXPORT_FUNC(PyThread_create_key) +EXPORT_FUNC(PyThread_delete_key) +EXPORT_FUNC(PyThread_delete_key_value) +EXPORT_FUNC(PyThread_exit_thread) +EXPORT_FUNC(PyThread_free_lock) +EXPORT_FUNC(PyThread_get_key_value) +EXPORT_FUNC(PyThread_get_stacksize) +EXPORT_FUNC(PyThread_get_thread_ident) +EXPORT_FUNC(PyThread_get_thread_native_id) +EXPORT_FUNC(PyThread_GetInfo) +EXPORT_FUNC(PyThread_init_thread) +EXPORT_FUNC(PyThread_ReInitTLS) +EXPORT_FUNC(PyThread_release_lock) +EXPORT_FUNC(PyThread_set_key_value) +EXPORT_FUNC(PyThread_set_stacksize) +EXPORT_FUNC(PyThread_start_new_thread) EXPORT_FUNC(PyThread_tss_alloc) EXPORT_FUNC(PyThread_tss_create) EXPORT_FUNC(PyThread_tss_delete) @@ -688,8 +714,6 @@ EXPORT_DATA(_Py_NoneStruct) EXPORT_DATA(_Py_NotImplementedStruct) EXPORT_DATA(_Py_SwappedOp) EXPORT_DATA(_Py_TrueStruct) -EXPORT_DATA(_PyTrash_delete_later) -EXPORT_DATA(_PyTrash_delete_nesting) EXPORT_DATA(_PyWeakref_CallableProxyType) EXPORT_DATA(_PyWeakref_ProxyType) EXPORT_DATA(_PyWeakref_RefType) @@ -707,6 +731,7 @@ EXPORT_DATA(PyCallIter_Type) EXPORT_DATA(PyCapsule_Type) EXPORT_DATA(PyCFunction_Type) EXPORT_DATA(PyClassMethodDescr_Type) +EXPORT_DATA(PyCodec_Unregister) EXPORT_DATA(PyComplex_Type) EXPORT_DATA(PyDict_Type) EXPORT_DATA(PyDictItems_Type) @@ -715,6 +740,9 @@ EXPORT_DATA(PyDictIterKey_Type) EXPORT_DATA(PyDictIterValue_Type) EXPORT_DATA(PyDictKeys_Type) EXPORT_DATA(PyDictProxy_Type) +EXPORT_DATA(PyDictRevIterItem_Type) +EXPORT_DATA(PyDictRevIterKey_Type) +EXPORT_DATA(PyDictRevIterValue_Type) EXPORT_DATA(PyDictValues_Type) EXPORT_DATA(PyEllipsis_Type) EXPORT_DATA(PyEnum_Type) @@ -801,12 +829,6 @@ EXPORT_DATA(PyMemoryView_Type) EXPORT_DATA(PyMethodDescr_Type) EXPORT_DATA(PyModule_Type) EXPORT_DATA(PyModuleDef_Type) -EXPORT_DATA(PyNullImporter_Type) -EXPORT_DATA(PyODict_Type) -EXPORT_DATA(PyODictItems_Type) -EXPORT_DATA(PyODictIter_Type) -EXPORT_DATA(PyODictKeys_Type) -EXPORT_DATA(PyODictValues_Type) EXPORT_DATA(PyOS_InputHook) EXPORT_DATA(PyProperty_Type) EXPORT_DATA(PyRange_Type) @@ -816,7 +838,6 @@ EXPORT_DATA(PySeqIter_Type) EXPORT_DATA(PySet_Type) EXPORT_DATA(PySetIter_Type) EXPORT_DATA(PySlice_Type) -EXPORT_DATA(PySortWrapper_Type) EXPORT_DATA(PySuper_Type) EXPORT_DATA(PyTraceBack_Type) EXPORT_DATA(PyTuple_Type) |