diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-09-23 06:44:07 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-09-23 19:02:21 -0400 |
commit | 106828c2cc8bbce1e5fb31c6a89ea3ac025225c1 (patch) | |
tree | d25428c8b525941619a2b472d25f309a02189d80 /coverage/ctracer/tracer.h | |
parent | b609117ef73ae372f027686b22f13c488c841253 (diff) | |
download | python-coveragepy-git-106828c2cc8bbce1e5fb31c6a89ea3ac025225c1.tar.gz |
Dynamic contexts
Diffstat (limited to 'coverage/ctracer/tracer.h')
-rw-r--r-- | coverage/ctracer/tracer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/coverage/ctracer/tracer.h b/coverage/ctracer/tracer.h index 61c01b41..a83742dd 100644 --- a/coverage/ctracer/tracer.h +++ b/coverage/ctracer/tracer.h @@ -27,7 +27,6 @@ typedef struct CTracer { PyObject * trace_arcs; PyObject * should_start_context; PyObject * switch_context; - PyObject * context; /* Has the tracer been started? */ BOOL started; @@ -35,6 +34,8 @@ typedef struct CTracer { BOOL tracing_arcs; /* Have we had any activity? */ BOOL activity; + /* The current dynamic context. */ + PyObject * context; /* The data stack is a stack of dictionaries. Each dictionary collects |