MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / ReleaseFunc

Method ReleaseFunc

CryScriptSystem/ScriptSystem.cpp:1857–1864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1855}
1856
1857void CScriptSystem::ReleaseFunc(HSCRIPTFUNCTION f)
1858{
1859 if(f)
1860 {
1861 lua_unref(m_pLS,f);
1862 Validate();
1863 }
1864}
1865

Callers 15

~_HScriptFunctionMethod · 0.80
InitMethod · 0.80
_HScriptFunctionClass · 0.80
OnResetMethod · 0.80
SetPropertiesMethod · 0.80
SetProperties2Method · 0.80
ShutDownScriptMethod · 0.80
InitMethod · 0.80
ResetMethod · 0.80
CallEventHandlerMethod · 0.80
ReleaseStateTableMethod · 0.80

Calls 1

lua_unrefFunction · 0.85

Tested by

no test coverage detected