interface
| 990 | |
| 991 | // interface |
| 992 | asIScriptContext *asCScriptEngine::RequestContext() |
| 993 | { |
| 994 | if( requestCtxFunc ) |
| 995 | { |
| 996 | // The return callback must also exist |
| 997 | asASSERT( returnCtxFunc ); |
| 998 | |
| 999 | asIScriptContext *ctx = requestCtxFunc(this, ctxCallbackParam); |
| 1000 | return ctx; |
| 1001 | } |
| 1002 | |
| 1003 | // As fallback we create a new context |
| 1004 | return CreateContext(); |
| 1005 | } |
| 1006 | |
| 1007 | // internal |
| 1008 | asCModule *asCScriptEngine::FindNewOwnerForSharedType(asCTypeInfo *in_type, asCModule *in_mod) |
no outgoing calls