MCPcopy Create free account
hub / github.com/mhammond/pywin32 / AddString

Method AddString

Pythonwin/Scintilla/src/CharacterSet.h:46–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 bset[val] = true;
45 }
46 void AddString(const char *CharacterSet) {
47 for (const char *cp=CharacterSet; *cp; cp++) {
48 int val = static_cast<unsigned char>(*cp);
49 PLATFORM_ASSERT(val >= 0);
50 PLATFORM_ASSERT(val < size);
51 bset[val] = true;
52 }
53 }
54 bool Contains(int val) const {
55 PLATFORM_ASSERT(val >= 0);
56 return (val < size) ? bset[val] : valueAfter;

Callers 15

PyCListBox_add_stringFunction · 0.80
PyCComboBox_add_stringFunction · 0.80
OnInitDialogMethod · 0.80
OnAddItemMethod · 0.80
OnInitDialogMethod · 0.80
OnInitDialogMethod · 0.80
OnAddItemMethod · 0.80
OnInitDialogMethod · 0.80
OnInitDialogMethod · 0.80
OnInitDialogMethod · 0.80
OnInitDialogMethod · 0.80
_SetupTLBMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected