File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -33,3 +33,11 @@ PyAPI_FUNC(int) PyUnstable_InterpreterFrame_GetLasti(struct _PyInterpreterFrame
33
33
/* Returns the currently executing line number, or -1 if there is no line number.
34
34
* Does not raise an exception. */
35
35
PyAPI_FUNC (int ) PyUnstable_InterpreterFrame_GetLine (struct _PyInterpreterFrame * frame );
36
+
37
+ #define PY_EXECUTABLE_KIND_SKIP 0
38
+ #define PY_EXECUTABLE_KIND_PY_FUNCTION 1
39
+ #define PY_EXECUTABLE_KIND_BUILTIN_FUNCTION 3
40
+ #define PY_EXECUTABLE_KIND_METHOD_DESCRIPTOR 4
41
+ #define PY_EXECUTABLE_KINDS 5
42
+
43
+ PyAPI_DATA (const PyTypeObject * ) const PyUnstable_ExecutableKinds [PY_EXECUTABLE_KINDS + 1 ];
Original file line number Diff line number Diff line change @@ -311,14 +311,6 @@ PyGenObject *_PyFrame_GetGenerator(_PyInterpreterFrame *frame)
311
311
return (PyGenObject * )(((char * )frame ) - offset_in_gen );
312
312
}
313
313
314
- #define PY_EXECUTABLE_KIND_SKIP 0
315
- #define PY_EXECUTABLE_KIND_PY_FUNCTION 1
316
- #define PY_EXECUTABLE_KIND_BUILTIN_FUNCTION 3
317
- #define PY_EXECUTABLE_KIND_METHOD_DESCRIPTOR 4
318
- #define PY_EXECUTABLE_KINDS 5
319
-
320
- PyAPI_DATA (const PyTypeObject * ) const PyUnstable_ExecutableKinds [PY_EXECUTABLE_KINDS + 1 ];
321
-
322
314
#ifdef __cplusplus
323
315
}
324
316
#endif
You can’t perform that action at this time.
0 commit comments