diff options
Diffstat (limited to 'lldb/scripts/interface/SBFunction.i')
| -rw-r--r-- | lldb/scripts/interface/SBFunction.i | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBFunction.i b/lldb/scripts/interface/SBFunction.i index 3acb0057cc3..7b157bb3881 100644 --- a/lldb/scripts/interface/SBFunction.i +++ b/lldb/scripts/interface/SBFunction.i @@ -111,6 +111,7 @@ public: bool operator != (const lldb::SBFunction &rhs) const; +#ifdef SWIGPYTHON %pythoncode %{ def get_instructions_from_current_target (self): return self.GetInstructions (target) @@ -124,6 +125,7 @@ public: prologue_size = property(GetPrologueByteSize, None, doc='''A read only property that returns the size in bytes of the prologue instructions as an unsigned integer.''') type = property(GetType, None, doc='''A read only property that returns an lldb object that represents the return type (lldb.SBType) for this function.''') %} +#endif }; |

