MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / das_program_compile

Function das_program_compile

src/misc/daScriptC.cpp:238–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236}
237
238das_program * das_program_compile ( char * program_file, das_file_access * access, das_text_writer * tout, das_module_group * libgroup ) {
239 auto program = compileDaScript(program_file,
240 (FileAccess *) access,
241 *((TextWriter *) tout),
242 *((ModuleGroup *) libgroup));
243 return (das_program *) program.orphan();
244}
245
246void das_program_release ( das_program * program ) {
247 if ( program ) ((Program *) program)->delRef();

Callers 15

compile_inlineFunction · 0.85
compile_inlineFunction · 0.85
compile_inlineFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
part1_problemFunction · 0.85
part2_solutionFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
run_inline_scriptFunction · 0.85

Calls 2

compileDaScriptFunction · 0.85
orphanMethod · 0.80

Tested by 4

compile_inlineFunction · 0.68
compile_inlineFunction · 0.68
compile_inlineFunction · 0.68
mainFunction · 0.68