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

Method ReleaseAllHandles

sdk/angelscript/source/as_scriptfunction.cpp:1762–1772  ·  view source on GitHub ↗

internal

Source from the content-addressed store, hash-verified

1760
1761// internal
1762void asCScriptFunction::ReleaseAllHandles(asIScriptEngine *)
1763{
1764 asASSERT( funcType == asFUNC_DELEGATE );
1765
1766 // Release paramaters
1767
1768 // Delegate
1769 if( objForDelegate )
1770 engine->ReleaseScriptObject(objForDelegate, funcForDelegate->GetObjectType());
1771 objForDelegate = 0;
1772}
1773
1774// interface
1775bool asCScriptFunction::IsShared() const

Calls 2

ReleaseScriptObjectMethod · 0.80
GetObjectTypeMethod · 0.45

Tested by

no test coverage detected