forked from OSchip/llvm-project
c3387333ce
SWIG is smart enough to recognize that C++ operators == and != mean __eq__ and __ne__ in Python and do the appropriate translation But it is not smart enough to recognize that mySBObject == None should return False instead of erroring out The %pythoncode blocks are meant to provide those extra smarts (and they play some SWIG&Python magic to find the right function to call behind the scenes with no risk of typos :-) Lastly, SBBreakpoint provides an == but never provided a != operator - common courtesy is to provide both llvm-svn: 180987 |
||
---|---|---|
.. | ||
Python | ||
CMakeLists.txt | ||
build-lldb-llvm-clang | ||
build-llvm.pl | ||
build-swig-wrapper-classes.sh | ||
buildbot.py | ||
checkpoint-llvm.pl | ||
disasm-gdb-remote.pl | ||
finish-swig-wrapper-classes.sh | ||
generate-vers.pl | ||
install-lldb.sh | ||
lldb.swig | ||
sed-sources | ||
verify_api.py |