internal
| 164 | |
| 165 | // internal |
| 166 | asCThreadLocalData *asPushActiveContext(asIScriptContext *ctx) |
| 167 | { |
| 168 | asCThreadLocalData *tld = asCThreadManager::GetLocalData(); |
| 169 | asASSERT( tld ); |
| 170 | if( tld == 0 ) |
| 171 | return 0; |
| 172 | tld->activeContexts.PushLast(ctx); |
| 173 | return tld; |
| 174 | } |
| 175 | |
| 176 | // internal |
| 177 | void asPopActiveContext(asCThreadLocalData *tld, asIScriptContext *ctx) |