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

Method link

src/hx/cppia/CppiaModule.cpp:62–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void CppiaModule::link()
63{
64 DBGLOG("Resolve registered - super\n");
65 HaxeNativeClass::link();
66
67 DBGLOG("Resolve typeIds\n");
68 for(int t=0;t<types.size();t++)
69 types[t]->link(*this);
70
71 DBGLOG("Resolve inherited atributes\n");
72 for(int i=0;i<classes.size();i++)
73 {
74 classes[i]->linkTypes();
75 }
76
77 for(int i=0;i<classes.size();i++)
78 {
79 linkingClass = classes[i];
80 classes[i]->link();
81 }
82 linkingClass = 0;
83
84 if (main)
85 main = (ScriptCallable *)main->link(*this);
86}
87
88#ifdef CPPIA_JIT
89void CppiaModule::compile()

Callers 1

LoadCppiaFunction · 0.45

Calls 2

linkTypesMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected