| branch | refac-jit |
| changeset 2173 | c38e83232dcc |
| parent 2171 | 0885b66fcf81 |
| child 2174 | 01c5adfae757 |
1.1 --- a/sourcepawn/jit/sp_vm_basecontext.cpp Mon Jul 07 04:58:49 2008 +0000 1.2 +++ b/sourcepawn/jit/sp_vm_basecontext.cpp Mon Jul 07 05:28:42 2008 +0000 1.3 @@ -759,3 +759,13 @@ 1.4 } 1.5 1.6 #undef USHR 1.7 + 1.8 +int BaseContext::GetLastNativeError() 1.9 +{ 1.10 + return m_ctx.n_err; 1.11 +} 1.12 + 1.13 +cell_t *BaseContext::GetLocalParams() 1.14 +{ 1.15 + return (cell_t *)(m_pPlugin->memory + m_ctx.frm + (2 * sizeof(cell_t))); 1.16 +}