summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/interface/SBDeclaration.i
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/interface/SBDeclaration.i')
-rw-r--r--lldb/scripts/interface/SBDeclaration.i2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBDeclaration.i b/lldb/scripts/interface/SBDeclaration.i
index 96407d7c60f..cdaec856764 100644
--- a/lldb/scripts/interface/SBDeclaration.i
+++ b/lldb/scripts/interface/SBDeclaration.i
@@ -53,11 +53,13 @@ namespace lldb {
bool
operator != (const lldb::SBDeclaration &rhs) const;
+#ifdef SWIGPYTHON
%pythoncode %{
file = property(GetFileSpec, None, doc='''A read only property that returns an lldb object that represents the file (lldb.SBFileSpec) for this line entry.''')
line = property(GetLine, None, doc='''A read only property that returns the 1 based line number for this line entry, a return value of zero indicates that no line information is available.''')
column = property(GetColumn, None, doc='''A read only property that returns the 1 based column number for this line entry, a return value of zero indicates that no column information is available.''')
%}
+#endif
};
} // namespace lldb
OpenPOWER on IntegriCloud