internal
| 1223 | |
| 1224 | // internal |
| 1225 | int asCModule::GetNextImportedFunctionId() |
| 1226 | { |
| 1227 | // TODO: multithread: This will break if one thread if freeing a module, while another is being compiled |
| 1228 | if( m_engine->freeImportedFunctionIdxs.GetLength() ) |
| 1229 | return FUNC_IMPORTED | (asUINT)m_engine->freeImportedFunctionIdxs[m_engine->freeImportedFunctionIdxs.GetLength()-1]; |
| 1230 | |
| 1231 | return FUNC_IMPORTED | (asUINT)m_engine->importedFunctions.GetLength(); |
| 1232 | } |
| 1233 | |
| 1234 | #ifndef AS_NO_COMPILER |
| 1235 | // internal |
no test coverage detected