interface
| 1883 | |
| 1884 | // interface |
| 1885 | asUINT 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 |
| 1894 | asIScriptFunction *asCContext::GetFunction(asUINT stackLevel) |