brintos

brintos / llvm-project-archived public Read only

0
0
Text · 476 B · f126f2a Raw
19 lines · plain
1%feature(2    "docstring",3    "Represents a member of an enum in lldb."4) lldb::SBTypeEnumMember;5 6%feature("docstring",7"Represents a list of SBTypeEnumMembers.8 9SBTypeEnumMemberList supports SBTypeEnumMember iteration.10It also supports [] access either by index, or by enum11element name by doing: ::12 13  myType = target.FindFirstType('MyEnumWithElementA')14  members = myType.GetEnumMembers()15  first_elem = members[0]16  elem_A = members['A']17 18") lldb::SBTypeEnumMemberList;19