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

Method boot

src/hx/cppia/CppiaModule.cpp:173–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171
172
173void CppiaModule::boot(CppiaCtx *ctx)
174{
175 // boot (statics)
176 for(int i=0;i<classes.size();i++)
177 cppiaClassInit(classes[i],ctx,0);
178 // run __init__
179 for(int i=0;i<classes.size();i++)
180 cppiaClassInit(classes[i],ctx,1);
181}
182
183int CppiaModule::getInterfaceSlot(const std::string &inName)
184{

Callers 2

CppiaObjectClass · 0.80
__scriptable_load_cppiaFunction · 0.80

Calls 2

cppiaClassInitFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected