MCPcopy Create free account
hub / github.com/anjo76/angelscript / IsTemplateFn

Method IsTemplateFn

sdk/angelscript/source/as_scriptengine.cpp:6519–6528  ·  view source on GitHub ↗

internal

Source from the content-addressed store, hash-verified

6517
6518// internal
6519bool asCScriptEngine::IsTemplateFn(const char* name) const
6520{
6521 for(unsigned int n = 0; n < registeredTemplateGlobalFuncs.GetLength(); n++)
6522 {
6523 asCScriptFunction* fn = registeredTemplateGlobalFuncs[n];
6524 if(fn && fn->name == name)
6525 return true;
6526 }
6527 return false;
6528}
6529
6530// internal
6531int asCScriptEngine::GetScriptSectionNameIndex(const char *name)

Callers 1

ParseExprValueMethod · 0.80

Calls 1

GetLengthMethod · 0.45

Tested by

no test coverage detected