interface
| 3257 | |
| 3258 | // interface |
| 3259 | asIScriptFunction *asCScriptEngine::GetGlobalFunctionByIndex(asUINT index) const |
| 3260 | { |
| 3261 | // Don't count the builtin delegate factory |
| 3262 | index++; |
| 3263 | |
| 3264 | if( index >= registeredGlobalFuncs.GetSize() ) |
| 3265 | return 0; |
| 3266 | |
| 3267 | return static_cast<asIScriptFunction*>(const_cast<asCScriptFunction*>(registeredGlobalFuncs.Get(index))); |
| 3268 | } |
| 3269 | |
| 3270 | // interface |
| 3271 | asIScriptFunction *asCScriptEngine::GetGlobalFunctionByDecl(const char *decl) const |