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

Function das_context_eval_lambda_cmres

src/misc/daScriptC.cpp:363–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361}
362
363void das_context_eval_lambda_cmres ( das_context * context, das_lambda * lambda, vec4f * arguments, void * cmres ) {
364 SimFunction ** fnpp = (SimFunction **) lambda;
365 if (!fnpp) ((Context *)context)->throw_error("invoke null lambda");
366 SimFunction * simFunc = *fnpp;
367 if (!simFunc) ((Context *)context)->throw_error("invoke null function");
368 ((Context *)context)->callWithCopyOnReturn(simFunc, arguments, cmres, nullptr);
369}
370
371void das_context_eval_lambda_cmres_unaligned ( das_context * context, das_lambda * lambda, vec4f_unaligned * arguments, int narguments, void * cmres ) {
372 vec4f * args = nullptr;

Calls 1

throw_errorMethod · 0.80

Tested by

no test coverage detected