MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / CPPIA_CALL createClosure

Function CPPIA_CALL createClosure

src/hx/cppia/CppiaFunction.cpp:943–946  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

941};
942
943hx::Object * CPPIA_CALL createClosure(CppiaCtx *ctx, ScriptCallable *inFunction)
944{
945 return new (inFunction->captureSize) CppiaClosure(ctx,inFunction);
946}
947
948hx::Object *createMemberClosure(hx::Object *inThis, ScriptCallable *inFunction)
949{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected