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

Method IsFactory

sdk/angelscript/source/as_scriptfunction.cpp:1822–1834  ·  view source on GitHub ↗

internal

Source from the content-addressed store, hash-verified

1820
1821// internal
1822bool asCScriptFunction::IsFactory() const
1823{
1824 if (objectType) return false;
1825
1826 asCObjectType* type = CastToObjectType(returnType.GetTypeInfo());
1827 if (type == 0) return false;
1828
1829 if (type->name != name) return false;
1830
1831 if (type->nameSpace != nameSpace) return false;
1832
1833 return true;
1834}
1835
1836// internal
1837asCScriptFunction* asCScriptFunction::FindNextFunctionCalled(asUINT startSearchFromProgramPos, int *outStackDelta, asUINT *outProgramPos)

Callers 1

Calls 2

CastToObjectTypeFunction · 0.85
GetTypeInfoMethod · 0.80

Tested by

no test coverage detected