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

Method GetTypeId

sdk/angelscript/source/as_scriptfunction.cpp:564–569  ·  view source on GitHub ↗

interface

Source from the content-addressed store, hash-verified

562
563// interface
564int asCScriptFunction::GetTypeId() const
565{
566 // This const cast is ok, the object won't be modified
567 asCDataType dt = asCDataType::CreateType(engine->FindMatchingFuncdef(const_cast<asCScriptFunction*>(this), 0), false);
568 return engine->GetTypeIdFromDataType(dt);
569}
570
571// interface
572bool asCScriptFunction::IsCompatibleWithTypeId(int typeId) const

Callers

nothing calls this directly

Calls 2

FindMatchingFuncdefMethod · 0.80
GetTypeIdFromDataTypeMethod · 0.80

Tested by

no test coverage detected