MCPcopy Create free account
hub / github.com/crawl/crawl / load_call

Method load_call

crawl-ref/source/dlua.cc:191–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191int dlua_chunk::load_call(CLua &interp, const char *fn)
192{
193 int err = load(interp);
194 if (err == E_CHUNK_LOAD_FAILURE)
195 return 0;
196 if (err)
197 return err;
198
199 return check_op(interp, !interp.callfn(fn, fn? 1 : 0, 0));
200}
201
202string dlua_chunk::orig_error() const
203{

Callers 2

run_map_global_preludesFunction · 0.80
yyparseFunction · 0.80

Calls 1

callfnMethod · 0.45

Tested by

no test coverage detected