Lots of cleanup on the SWIG wrapping layer

Now, the way SWIG wrappers call into Python is through a utility PyCallable object, which overloads operator () to look like a normal function call
Plus, using the SBTypeToSWIGWrapper() family of functions, we can call python functions transparently as if they were plain C functions
Using this new technique should make adding new Python call points easier and quicker

The PyCallable is a generally useful facility, and we might want to consider moving it to a separate layer where other parts of LLDB can use it

llvm-svn: 184608
This commit is contained in:
Enrico Granata
2013-06-21 23:27:16 +00:00
parent e5c41896b3
commit c20eed4280
4 changed files with 388 additions and 770 deletions

File diff suppressed because it is too large Load Diff