MCPcopy Create free account
hub / github.com/WheretIB/nullc / nullcBindModuleFunction

Function nullcBindModuleFunction

NULLC/nullc.cpp:163–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161#endif
162
163nullres nullcBindModuleFunction(const char* module, void (NCDECL *ptr)(), const char* name, int index)
164{
165 using namespace NULLC;
166 NULLC_CHECK_INITIALIZED(false);
167
168 nullres good = compiler->AddModuleFunction(module, ptr, name, index);
169 if(good == 0)
170 nullcLastError = compiler->GetError();
171 return good;
172}
173
174nullres nullcLoadModuleBySource(const char* module, const char* code)
175{

Callers 12

WinMainFunction · 0.85
nullcInitGCModuleFunction · 0.85
nullcInitWindowModuleFunction · 0.85
RunInterfaceTestsFunction · 0.85
TestExtra.cppFile · 0.85
SpeedTestTextFunction · 0.85
TestOverride.cppFile · 0.85
TestGC.cppFile · 0.85
TestDefault.cppFile · 0.85

Calls 2

AddModuleFunctionMethod · 0.80
GetErrorMethod · 0.45

Tested by 2

RunInterfaceTestsFunction · 0.68
SpeedTestTextFunction · 0.68