Commit 12b6e6d8 authored by Stefan Behnel's avatar Stefan Behnel

test fix to make sure we include frameobject.h

parent 18516214
...@@ -3,10 +3,14 @@ ...@@ -3,10 +3,14 @@
# mode: run # mode: run
# tag: trace # tag: trace
cdef extern from "frameobject.h":
ctypedef struct PyFrameObject:
pass
from cpython.ref cimport PyObject from cpython.ref cimport PyObject
from cpython.pystate cimport ( from cpython.pystate cimport (
Py_tracefunc, PyFrameObject, Py_tracefunc,
PyTrace_CALL, PyTrace_EXCEPTION, PyTrace_LINE, PyTrace_RETURN, PyTrace_CALL, PyTrace_EXCEPTION, PyTrace_LINE, PyTrace_RETURN,
PyTrace_C_CALL, PyTrace_C_EXCEPTION, PyTrace_C_RETURN) PyTrace_C_CALL, PyTrace_C_EXCEPTION, PyTrace_C_RETURN)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment