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

Method RequestContext

sdk/angelscript/source/as_scriptengine.cpp:992–1005  ·  view source on GitHub ↗

interface

Source from the content-addressed store, hash-verified

990
991// interface
992asIScriptContext *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
1008asCModule *asCScriptEngine::FindNewOwnerForSharedType(asCTypeInfo *in_type, asCModule *in_mod)

Callers 14

ScriptObjectCopyFactoryFunction · 0.80
CallDestructorMethod · 0.80
CopyFromAsMethod · 0.80
CallInitMethod · 0.80
InitGlobalPropMethod · 0.80
ExecuteStringFunction · 0.80
SetValueMethod · 0.80
SortMethod · 0.80
CopyBufferMethod · 0.80
AddContextMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestFunction · 0.64
CallMeMethod · 0.64