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

Method implementsInterface

src/hx/cppia/CppiaClasses.cpp:428–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426}
427
428bool CppiaClassInfo::implementsInterface(CppiaClassInfo *inInterface)
429{
430 for(int i=0;i<implements.size();i++)
431 if (implements[i] == inInterface->typeId)
432 return true;
433 return false;
434}
435
436
437ScriptCallable *CppiaClassInfo::findFunction(bool inStatic,int inId)

Callers 1

VCanCastMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected