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

Method GetCallstackSize

sdk/angelscript/source/as_context.cpp:1885–1891  ·  view source on GitHub ↗

interface

Source from the content-addressed store, hash-verified

1883
1884// interface
1885asUINT asCContext::GetCallstackSize() const
1886{
1887 if( m_currentFunction == 0 ) return 0;
1888
1889 // The current function is accessed at stackLevel 0
1890 return asUINT(1 + m_callStack.GetLength() / CALLSTACK_FRAME_SIZE);
1891}
1892
1893// interface
1894asIScriptFunction *asCContext::GetFunction(asUINT stackLevel)

Callers 14

LineCallbackMethod · 0.80
InterpretCommandMethod · 0.80
PrintCallstackMethod · 0.80
GetExceptionInfoFunction · 0.80
LineCallbackFunction · 0.80
LineCallback2Function · 0.80
LineCallback3Function · 0.80
LineCallback4Function · 0.80
ExceptionCallbackFunction · 0.80
TestFunction · 0.80
SerializeMethod · 0.80
DeserializeMethod · 0.80

Calls 1

GetLengthMethod · 0.45

Tested by 10

LineCallbackFunction · 0.64
LineCallback2Function · 0.64
LineCallback3Function · 0.64
LineCallback4Function · 0.64
ExceptionCallbackFunction · 0.64
TestFunction · 0.64
SerializeMethod · 0.64
DeserializeMethod · 0.64
SerializeAddressMethod · 0.64
WhoIsCallingFunction · 0.64