summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/interface/SBExecutionContext.i
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/interface/SBExecutionContext.i')
-rw-r--r--lldb/scripts/interface/SBExecutionContext.i15
1 files changed, 4 insertions, 11 deletions
diff --git a/lldb/scripts/interface/SBExecutionContext.i b/lldb/scripts/interface/SBExecutionContext.i
index 8ffa1f8a354..9e8d22b3728 100644
--- a/lldb/scripts/interface/SBExecutionContext.i
+++ b/lldb/scripts/interface/SBExecutionContext.i
@@ -38,17 +38,10 @@ public:
GetFrame () const;
%pythoncode %{
- __swig_getmethods__["target"] = GetTarget
- if _newclass: target = property(GetTarget, None, doc='''A read only property that returns the same result as GetTarget().''')
-
- __swig_getmethods__["process"] = GetProcess
- if _newclass: process = property(GetProcess, None, doc='''A read only property that returns the same result as GetProcess().''')
-
- __swig_getmethods__["thread"] = GetThread
- if _newclass: thread = property(GetThread, None, doc='''A read only property that returns the same result as GetThread().''')
-
- __swig_getmethods__["frame"] = GetFrame
- if _newclass: frame = property(GetFrame, None, doc='''A read only property that returns the same result as GetFrame().''')
+ target = property(GetTarget, None, doc='''A read only property that returns the same result as GetTarget().''')
+ process = property(GetProcess, None, doc='''A read only property that returns the same result as GetProcess().''')
+ thread = property(GetThread, None, doc='''A read only property that returns the same result as GetThread().''')
+ frame = property(GetFrame, None, doc='''A read only property that returns the same result as GetFrame().''')
%}
};
OpenPOWER on IntegriCloud