File tree Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,6 @@ typedef struct {
5757 void * d_wrapped ; /* This can be any function pointer */
5858} PyWrapperDescrObject ;
5959
60- PyAPI_DATA (PyTypeObject ) _PyMethodWrapper_Type ;
61-
6260PyAPI_FUNC (PyObject * ) PyDescr_NewWrapper (PyTypeObject * ,
6361 struct wrapperbase * , void * );
6462PyAPI_FUNC (int ) PyDescr_IsData (PyObject * );
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ typedef struct {
2020
2121typedef propertyobject _PyPropertyObject ;
2222
23+ extern PyTypeObject _PyMethodWrapper_Type ;
24+
2325#ifdef __cplusplus
2426}
2527#endif
Original file line number Diff line number Diff line change 44#include "pycore_abstract.h" // _PyObject_RealIsSubclass()
55#include "pycore_call.h" // _PyStack_AsDict()
66#include "pycore_ceval.h" // _Py_EnterRecursiveCallTstate()
7+ #include "pycore_descrobject.h" // _PyMethodWrapper_Type
78#include "pycore_object.h" // _PyObject_GC_UNTRACK()
89#include "pycore_pystate.h" // _PyThreadState_GET()
910#include "pycore_tuple.h" // _PyTuple_ITEMS()
1011#include "structmember.h" // PyMemberDef
11- #include "pycore_descrobject.h"
1212
1313/*[clinic input]
1414class mappingproxy "mappingproxyobject *" "&PyDictProxy_Type"
Original file line number Diff line number Diff line change 55#include "pycore_call.h" // _PyObject_CallNoArgs()
66#include "pycore_ceval.h" // _Py_EnterRecursiveCallTstate()
77#include "pycore_context.h" // _PyContextTokenMissing_Type
8+ #include "pycore_descrobject.h" // _PyMethodWrapper_Type
89#include "pycore_dict.h" // _PyObject_MakeDictFromInstanceAttributes()
910#include "pycore_floatobject.h" // _PyFloat_DebugMallocStats()
1011#include "pycore_initconfig.h" // _PyStatus_EXCEPTION()
Original file line number Diff line number Diff line change 11#include "Python.h"
22#include "pycore_code.h"
3+ #include "pycore_descrobject.h" // _PyMethodWrapper_Type
34#include "pycore_dict.h"
45#include "pycore_function.h" // _PyFunction_GetVersionForCurrentState()
56#include "pycore_global_strings.h" // _Py_ID()
67#include "pycore_long.h"
78#include "pycore_moduleobject.h"
89#include "pycore_object.h"
910#include "pycore_opcode.h" // _PyOpcode_Caches
10- #include "structmember.h" // struct PyMemberDef, T_OFFSET_EX
11- #include "pycore_descrobject.h"
1211#include "pycore_pylifecycle.h" // _PyOS_URandomNonblock()
12+ #include "structmember.h" // struct PyMemberDef, T_OFFSET_EX
1313
1414#include <stdlib.h> // rand()
1515
You can’t perform that action at this time.
0 commit comments