MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / compilefile_to_file

Function compilefile_to_file

src/Chain/libraries/glua/thinkyoung_lua_lib.cpp:2091–2094  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2089
2090
2091 bool compilefile_to_file(const char *filename, const char *out_filename, char *error, bool use_type_check)
2092 {
2093 return luaL_compilefile(filename, out_filename, error, use_type_check) == 0;
2094 }
2095 bool compilefile_to_stream(lua_State *L, const char *filename, GluaModuleByteStreamP stream, char *error, bool use_type_check, bool is_contract)
2096 {
2097 return luaL_compilefile_to_stream(L, filename, stream, error, use_type_check, is_contract) == 0;

Callers 5

compile_and_runFunction · 0.85
GTESTFunction · 0.85
simple_testsFunction · 0.85
handle_scriptFunction · 0.85
run_compile_scriptFunction · 0.85

Calls 1

luaL_compilefileFunction · 0.85

Tested by

no test coverage detected