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

Function find_void_function

utils/daslang-live/main.cpp:248–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246// --- Find a void() function by name ---
247
248static SimFunction * find_void_function(Context * ctx, const char * name) {
249 auto fnVec = ctx->findFunctions(name);
250 for (auto fn : fnVec) {
251 if (fn->debugInfo && fn->debugInfo->count == 0) {
252 return fn;
253 }
254 }
255 return nullptr;
256}
257
258// --- Cached annotated function lists ---
259

Callers 1

run_lifecycleFunction · 0.85

Calls 1

findFunctionsMethod · 0.80

Tested by

no test coverage detected