forked from ionelmc/python-hunter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_event.pxd
More file actions
51 lines (44 loc) · 1.36 KB
/
_event.pxd
File metadata and controls
51 lines (44 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# cython: language_level=3str
cimport cython
from ._tracer cimport *
cdef extern from "frameobject.h":
void PyFrame_FastToLocals(FrameType)
@cython.final
cdef class Event:
cdef:
readonly FrameType frame
readonly str kind
readonly object arg
readonly int depth
readonly int calls
readonly bint threading_support
readonly bint detached
readonly object builtin
object _code
object _filename
object _fullsource
object _function
object _function_object
object _globals
object _lineno
object _locals
object _module
object _source
object _stdlib
object _thread
object _threadidn # slightly different name cause "_threadid" is a goddamn macro in Microsoft stddef.h
object _threadname
object code_getter(self)
object filename_getter(self)
object fullsource_getter(self)
object function_getter(self)
object globals_getter(self)
object lineno_getter(self)
object locals_getter(self)
object module_getter(self)
object source_getter(self)
object stdlib_getter(self)
object threadid_getter(self)
object threadname_getter(self)
cdef Event fast_clone(Event self)
cdef Event fast_detach(Event self, object value_filter)