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

Method findClass

src/hx/cppia/CppiaModule.cpp:123–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123CppiaClassInfo *CppiaModule::findClass( ::String inName)
124{
125
126 std::string stdName(inName.utf8_str());
127 for(int i=0;i<classes.size();i++)
128 if (classes[i]->name == stdName)
129 return classes[i];
130 return 0;
131}
132
133
134void CppiaModule::mark(hx::MarkContext *__inCtx)

Callers 1

resolveClassMethod · 0.45

Calls 2

utf8_strMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected