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

Function asPopActiveContext

sdk/angelscript/source/as_context.cpp:177–183  ·  view source on GitHub ↗

internal

Source from the content-addressed store, hash-verified

175
176// internal
177void asPopActiveContext(asCThreadLocalData *tld, asIScriptContext *ctx)
178{
179 UNUSED_VAR(ctx);
180 asASSERT(tld && tld->activeContexts[tld->activeContexts.GetLength() - 1] == ctx);
181 if (tld)
182 tld->activeContexts.PopLast();
183}
184
185asCContext::asCContext(asCScriptEngine *engine, bool holdRef)
186{

Callers 2

UnprepareMethod · 0.85
ExecuteMethod · 0.85

Calls 2

PopLastMethod · 0.80
GetLengthMethod · 0.45

Tested by

no test coverage detected