MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / ReturnedFromFunction

Method ReturnedFromFunction

neo/game/script/Script_Interpreter.cpp:1911–1915  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1909}
1910
1911bool idGameEditExt::ReturnedFromFunction(const idProgram* program, const idInterpreter* interpreter, int index) const
1912{
1913
1914 return ( const_cast<idProgram*>(program)->GetStatement(index).op == OP_RETURN && interpreter->GetCallstackDepth ( ) <= 1 );
1915}
1916
1917bool idGameEditExt::GetRegisterValue(const idInterpreter* interpreter, const char* name, idStr& out, int scopeDepth) const
1918{

Callers 1

CheckBreakpointsMethod · 0.45

Calls 1

GetCallstackDepthMethod · 0.45

Tested by

no test coverage detected