Staging
v0.5.1
https://github.com/python/cpython
Revision d6ba8c8e16b844e2c21bfe96217dd62dc50e9014 authored by Miss Islington (bot) on 21 July 2020, 00:10:32 UTC, committed by GitHub on 21 July 2020, 00:10:32 UTC
(cherry picked from commit 84761c3cc4bac31d471e371c53a338686d4b0241)

Co-authored-by: Steve Dower <steve.dower@python.org>
1 parent 9e84a2c
Raw File
Tip revision: d6ba8c8e16b844e2c21bfe96217dd62dc50e9014 authored by Miss Islington (bot) on 21 July 2020, 00:10:32 UTC
bpo-40741: Update Windows build to include SQLite 3.32.3 (GH-21570)
Tip revision: d6ba8c8
pyframe.h
/* Limited C API of PyFrame API
 *
 * Include "frameobject.h" to get the PyFrameObject structure.
 */

#ifndef Py_PYFRAME_H
#define Py_PYFRAME_H
#ifdef __cplusplus
extern "C" {
#endif

typedef struct _frame PyFrameObject;

/* Return the line of code the frame is currently executing. */
PyAPI_FUNC(int) PyFrame_GetLineNumber(PyFrameObject *);

PyAPI_FUNC(PyCodeObject *) PyFrame_GetCode(PyFrameObject *frame);

#ifdef __cplusplus
}
#endif
#endif /* !Py_PYFRAME_H */
back to top