MCPcopy Create free account
hub / github.com/anjo76/angelscript / asPushActiveContext

Function asPushActiveContext

sdk/angelscript/source/as_context.cpp:166–174  ·  view source on GitHub ↗

internal

Source from the content-addressed store, hash-verified

164
165// internal
166asCThreadLocalData *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
177void asPopActiveContext(asCThreadLocalData *tld, asIScriptContext *ctx)

Callers 2

UnprepareMethod · 0.85
ExecuteMethod · 0.85

Calls 1

PushLastMethod · 0.80

Tested by

no test coverage detected