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

Function nullcBuild

NULLC/nullc.cpp:367–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365}
366
367nullres nullcBuild(const char* code)
368{
369 using namespace NULLC;
370
371 if(!nullcCompile(code))
372 return false;
373 char *bytecode = NULL;
374 nullcGetBytecode(&bytecode);
375 nullcClean();
376 if(!nullcLinkCode(bytecode))
377 return false;
378 delete[] bytecode;
379 return true;
380}
381
382nullres nullcRun()
383{

Callers 7

SuperCalcRunFunction · 0.85
mainFunction · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunInterfaceTestsFunction · 0.85

Calls 4

nullcCompileFunction · 0.85
nullcGetBytecodeFunction · 0.85
nullcCleanFunction · 0.85
nullcLinkCodeFunction · 0.85

Tested by 4

RunMethod · 0.68
RunMethod · 0.68
RunMethod · 0.68
RunInterfaceTestsFunction · 0.68