diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-04-24 00:38:53 +0000 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-04-24 00:38:53 +0000 |
commit | 17d2730ee039692d0ae02ff2cfbea691bf8fcf11 (patch) | |
tree | 482f6c3defc09989f23e6bb62859773f2ae63602 /lldb/scripts/Python/interface/SBDeclaration.i | |
parent | e1a67412cf1df672f9b12b040db390adfcbd6013 (diff) | |
download | bcm5719-llvm-17d2730ee039692d0ae02ff2cfbea691bf8fcf11.tar.gz bcm5719-llvm-17d2730ee039692d0ae02ff2cfbea691bf8fcf11.zip |
Start to share SWIG interface files between languages.
Summary:
Move scripts/Python/interface to scripts/interface so that we
can start making iterative improvements towards sharing the
interface files between multiple languages (each of which would
have their own directory as now).
Test Plan: Build and see.
Reviewers: zturner, emaste, clayborg
Reviewed By: clayborg
Subscribers: mjsabby, lldb-commits
Differential Revision: http://reviews.llvm.org/D9212
llvm-svn: 235676
Diffstat (limited to 'lldb/scripts/Python/interface/SBDeclaration.i')
-rw-r--r-- | lldb/scripts/Python/interface/SBDeclaration.i | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/lldb/scripts/Python/interface/SBDeclaration.i b/lldb/scripts/Python/interface/SBDeclaration.i deleted file mode 100644 index e7a6b6d44b7..00000000000 --- a/lldb/scripts/Python/interface/SBDeclaration.i +++ /dev/null @@ -1,68 +0,0 @@ -//===-- SWIG Interface for SBDeclaration --------------------------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -namespace lldb { - - %feature("docstring", - "Specifies an association with a line and column for a variable." - ) SBDeclaration; - class SBDeclaration - { - public: - - SBDeclaration (); - - SBDeclaration (const lldb::SBDeclaration &rhs); - - ~SBDeclaration (); - - bool - IsValid () const; - - lldb::SBFileSpec - GetFileSpec () const; - - uint32_t - GetLine () const; - - uint32_t - GetColumn () const; - - bool - GetDescription (lldb::SBStream &description); - - void - SetFileSpec (lldb::SBFileSpec filespec); - - void - SetLine (uint32_t line); - - void - SetColumn (uint32_t column); - - bool - operator == (const lldb::SBDeclaration &rhs) const; - - bool - operator != (const lldb::SBDeclaration &rhs) const; - - %pythoncode %{ - __swig_getmethods__["file"] = GetFileSpec - if _newclass: file = property(GetFileSpec, None, doc='''A read only property that returns an lldb object that represents the file (lldb.SBFileSpec) for this line entry.''') - - __swig_getmethods__["line"] = GetLine - if _newclass: 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.''') - - __swig_getmethods__["column"] = GetColumn - if _newclass: 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.''') - %} - - }; - -} // namespace lldb |