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

Function das_error_report

src/misc/daScriptC.cpp:435–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435void das_error_report ( das_error * error, char * text, int maxLength ) {
436 auto err = (Error *) error;
437 auto str = reportError(err->at, err->what, err->extra, err->fixme, err->cerr );
438 strncpy(text, str.c_str(), maxLength);
439}
440
441das_module * das_module_create ( char * name ) {
442 return (das_module *) new Module(name);

Callers 9

mainFunction · 0.85
part1_problemFunction · 0.85
part2_solutionFunction · 0.85
run_valid_scriptFunction · 0.85
compile_and_reportFunction · 0.85
compile_with_policiesFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 2

reportErrorFunction · 0.85
c_strMethod · 0.45

Tested by 1

mainFunction · 0.68