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 {
57
57
void * d_wrapped ; /* This can be any function pointer */
58
58
} PyWrapperDescrObject ;
59
59
60
- PyAPI_DATA (PyTypeObject ) _PyMethodWrapper_Type ;
61
-
62
60
PyAPI_FUNC (PyObject * ) PyDescr_NewWrapper (PyTypeObject * ,
63
61
struct wrapperbase * , void * );
64
62
PyAPI_FUNC (int ) PyDescr_IsData (PyObject * );
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ typedef struct {
20
20
21
21
typedef propertyobject _PyPropertyObject ;
22
22
23
+ extern PyTypeObject _PyMethodWrapper_Type ;
24
+
23
25
#ifdef __cplusplus
24
26
}
25
27
#endif
Original file line number Diff line number Diff line change 4
4
#include "pycore_abstract.h" // _PyObject_RealIsSubclass()
5
5
#include "pycore_call.h" // _PyStack_AsDict()
6
6
#include "pycore_ceval.h" // _Py_EnterRecursiveCallTstate()
7
+ #include "pycore_descrobject.h" // _PyMethodWrapper_Type
7
8
#include "pycore_object.h" // _PyObject_GC_UNTRACK()
8
9
#include "pycore_pystate.h" // _PyThreadState_GET()
9
10
#include "pycore_tuple.h" // _PyTuple_ITEMS()
10
11
#include "structmember.h" // PyMemberDef
11
- #include "pycore_descrobject.h"
12
12
13
13
/*[clinic input]
14
14
class mappingproxy "mappingproxyobject *" "&PyDictProxy_Type"
Original file line number Diff line number Diff line change 5
5
#include "pycore_call.h" // _PyObject_CallNoArgs()
6
6
#include "pycore_ceval.h" // _Py_EnterRecursiveCallTstate()
7
7
#include "pycore_context.h" // _PyContextTokenMissing_Type
8
+ #include "pycore_descrobject.h" // _PyMethodWrapper_Type
8
9
#include "pycore_dict.h" // _PyObject_MakeDictFromInstanceAttributes()
9
10
#include "pycore_floatobject.h" // _PyFloat_DebugMallocStats()
10
11
#include "pycore_initconfig.h" // _PyStatus_EXCEPTION()
Original file line number Diff line number Diff line change 1
1
#include "Python.h"
2
2
#include "pycore_code.h"
3
+ #include "pycore_descrobject.h" // _PyMethodWrapper_Type
3
4
#include "pycore_dict.h"
4
5
#include "pycore_function.h" // _PyFunction_GetVersionForCurrentState()
5
6
#include "pycore_global_strings.h" // _Py_ID()
6
7
#include "pycore_long.h"
7
8
#include "pycore_moduleobject.h"
8
9
#include "pycore_object.h"
9
10
#include "pycore_opcode.h" // _PyOpcode_Caches
10
- #include "structmember.h" // struct PyMemberDef, T_OFFSET_EX
11
- #include "pycore_descrobject.h"
12
11
#include "pycore_pylifecycle.h" // _PyOS_URandomNonblock()
12
+ #include "structmember.h" // struct PyMemberDef, T_OFFSET_EX
13
13
14
14
#include <stdlib.h> // rand()
15
15
You can’t perform that action at this time.
0 commit comments