MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / findInterfaceSlot

Method findInterfaceSlot

src/hx/cppia/CppiaModule.cpp:196–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194
195
196int CppiaModule::findInterfaceSlot(const std::string &inName)
197{
198 InterfaceSlots::iterator it = interfaceSlots.find(inName);
199 if (it==interfaceSlots.end())
200 return -1;
201 return it->second;
202}
203
204
205

Callers 1

linkMethod · 0.80

Calls 1

findMethod · 0.80

Tested by

no test coverage detected