xref: /freebsd/contrib/llvm-project/lldb/bindings/interface/SBExecutionContextExtensions.i (revision a8089ea5aee578e08acab2438e82fc9a9ae50ed8)
1 %extend lldb::SBExecutionContext {
2 #ifdef SWIGPYTHON
3     %pythoncode %{
4         target = property(GetTarget, None, doc='''A read only property that returns the same result as GetTarget().''')
5         process = property(GetProcess, None, doc='''A read only property that returns the same result as GetProcess().''')
6         thread = property(GetThread, None, doc='''A read only property that returns the same result as GetThread().''')
7         frame = property(GetFrame, None, doc='''A read only property that returns the same result as GetFrame().''')
8     %}
9 #endif
10 }
11