internal
| 1188 | |
| 1189 | // internal |
| 1190 | asSNameSpace *asCScriptEngine::FindNameSpace(const char *name) const |
| 1191 | { |
| 1192 | // TODO: optimize: Improve linear search |
| 1193 | for( asUINT n = 0; n < nameSpaces.GetLength(); n++ ) |
| 1194 | if( nameSpaces[n]->name == name ) |
| 1195 | return nameSpaces[n]; |
| 1196 | |
| 1197 | return 0; |
| 1198 | } |
| 1199 | |
| 1200 | // interface |
| 1201 | const char *asCScriptEngine::GetDefaultNamespace() const |
no test coverage detected