[NFC][Coroutines] Use structured binding with llvm::enumerate in CoroSplit (#116879)
[llvm-project.git] / lldb / bindings / interface / SBTypeSyntheticExtensions.i
blobcf7ab167f41c8430303b5ef99a76e8b6f648bbfd
1 STRING_EXTENSION_LEVEL_OUTSIDE(SBTypeSynthetic, lldb::eDescriptionLevelBrief)
2 %extend lldb::SBTypeSynthetic {
3 #ifdef SWIGPYTHON
4 %pythoncode %{
5 # operator== is a free function, which swig does not handle, so we inject
6 # our own equality operator here
7 def __eq__(self, other):
8 return not self.__ne__(other)
10 options = property(GetOptions, SetOptions)
11 contains_code = property(IsClassCode, None)
12 synthetic_data = property(GetData, None)
14 #endif