MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / FindFunctionByValue

Method FindFunctionByValue

src/IFaceTable.cpp:69–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69const IFaceFunction *IFaceTable::FindFunctionByValue(int value) const {
70 for (const auto &func : functions) {
71 if (func.value == value)
72 return &func;
73 }
74 return nullptr;
75}
76
77const IFaceProperty *IFaceTable::FindProperty(const char *name) const {
78 return binary_find(properties.cbegin(), properties.cend(), name);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected