MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / onCreateContext

Method onCreateContext

src/runtime/context.cpp:777–777  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775 class CppOnlyDebugAgent : public DebugAgent {
776 public:
777 virtual void onCreateContext ( Context * ctx ) override { if ( onCreateContextOp ) onCreateContextOp(ctx); }
778 virtual void onDestroyContext ( Context * ctx ) override { if ( onDestroyContextOp ) onDestroyContextOp(ctx); }
779 virtual bool onLog ( Context * context, const LineInfo * at, int level, const char * text ) override { return onLogOp ? onLogOp(context, at, level, text) : false; }
780 virtual bool isCppOnlyAgent() const override { return true; }

Callers 1

announceCreationMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected