MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / HasFunction

Method HasFunction

Source/Scripting/angelscript/ascontext.cpp:369–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369bool ASContext::HasFunction(ASFunctionHandle handle) {
370 if (handle < 0) {
371 return false;
372 }
373
374 return expected_functions[handle].func_ptr;
375}
376
377bool ASContext::CallScriptFunction(ASFunctionHandle handle, const ASArglist *args, ASArg *return_val) {
378 if (handle >= 0) {

Callers

nothing calls this directly

Calls 1

GetFunctionIDMethod · 0.80

Tested by

no test coverage detected