llvm-project/lldb/scripts/Python/interface
Enrico Granata c3387333ce <rdar://problem/11742979>
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
2013-05-03 01:29:27 +00:00
..
SBAddress.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBBlock.i <rdar://problem/13281528> 2013-02-25 21:53:07 +00:00
SBBreakpoint.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBBreakpointLocation.i Add GetID to the .i file. 2012-05-16 17:15:08 +00:00
SBBroadcaster.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBCommandInterpreter.i Implementing plugins that provide commands. 2012-09-28 23:57:51 +00:00
SBCommandReturnObject.i <rdar://problem/13499317> 2013-05-02 17:29:04 +00:00
SBCommunication.i Add a general mechanism to wait on the debugger for Broadcasters of a given class/event bit set. 2012-02-16 06:50:00 +00:00
SBCompileUnit.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBData.i <rdar://problem/13069948> 2013-01-25 18:06:21 +00:00
SBDebugger.i Fix document typos, indentation in python code, and API examples. 2013-02-12 20:01:49 +00:00
SBDeclaration.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBError.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBEvent.i Add a general mechanism to wait on the debugger for Broadcasters of a given class/event bit set. 2012-02-16 06:50:00 +00:00
SBExpressionOptions.i After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11. 2013-04-18 22:45:39 +00:00
SBFileSpec.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBFileSpecList.i Added the ability to restrict breakpoints by function name, function regexp, selector 2011-09-23 00:54:11 +00:00
SBFrame.i Add the ability to set timeout & "run all threads" options both from the "expr" command and from 2012-10-16 21:41:58 +00:00
SBFunction.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBHostOS.i Move the rest of the SB headers to interface files. 2011-07-19 22:41:47 +00:00
SBInputReader.i Move the rest of the SB headers to interface files. 2011-07-19 22:41:47 +00:00
SBInstruction.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBInstructionList.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBLineEntry.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBListener.i Add a general mechanism to wait on the debugger for Broadcasters of a given class/event bit set. 2012-02-16 06:50:00 +00:00
SBModule.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBProcess.i Reworked the way Process::RunThreadPlan and the ThreadPlanCallFunction interoperate to fix problems where 2013-02-09 01:29:05 +00:00
SBSection.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBSourceManager.i Add some docstrings for SBSourceManager class. 2011-07-19 23:35:10 +00:00
SBStream.i Fix a build warning and a dangerous possible crasher. 2012-10-08 23:50:19 +00:00
SBStringList.i Move the rest of the SB headers to interface files. 2011-07-19 22:41:47 +00:00
SBSymbol.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBSymbolContext.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBSymbolContextList.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBTarget.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBThread.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBType.i After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11. 2013-04-18 22:45:39 +00:00
SBTypeCategory.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBTypeFilter.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBTypeFormat.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBTypeNameSpecifier.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBTypeSummary.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBTypeSynthetic.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBValue.i Make sure we expose SetData() through the Python 2013-04-13 01:28:33 +00:00
SBValueList.i Make every Python API __len__() method return a PyIntObject. 2012-05-11 20:39:42 +00:00
SBWatchpoint.i Adding events when watchpoints are set or changed. 2012-12-18 02:03:49 +00:00