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

Method findEnum

src/hx/cppia/CppiaClasses.cpp:673–679  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

671}
672
673CppiaEnumConstructor *CppiaClassInfo::findEnum(int inFieldId)
674{
675 for(int i=0;i<enumConstructors.size();i++)
676 if (enumConstructors[i]->nameId==inFieldId)
677 return enumConstructors[i];
678 return 0;
679}
680
681void CppiaClassInfo::mark(hx::MarkContext *__inCtx)
682{

Callers 1

linkMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected