///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
| 1281 | ////////////////////////////////////////////////////////////////////// |
| 1282 | ////////////////////////////////////////////////////////////////////// |
| 1283 | void CScriptSystem::EndCall() |
| 1284 | { |
| 1285 | Validate(); |
| 1286 | |
| 1287 | if(m_nTempArg==-1) |
| 1288 | return; |
| 1289 | #ifdef USE_RAW_CALL |
| 1290 | int nRes = lua_call(m_pLS, m_nTempArg, 0); |
| 1291 | if (nRes) |
| 1292 | FormatAndRaiseError(nRes); |
| 1293 | #else |
| 1294 | lua_rawcall(m_pLS, m_nTempArg, 0); |
| 1295 | #endif |
| 1296 | |
| 1297 | Validate(); |
| 1298 | } |
| 1299 | |
| 1300 | ////////////////////////////////////////////////////////////////////// |
| 1301 | ////////////////////////////////////////////////////////////////////// |
no test coverage detected