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

Function dapiUserCommand

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

Source from the content-addressed store, hash-verified

43 }
44
45 void dapiUserCommand ( const char * command ) {
46 if ( !command ) command = "";
47 bool any = false;
48 for_each_debug_agent([&]( const DebugAgentPtr & pAgent ){
49 if ( !any ) any = pAgent->onUserCommand(command);
50 });
51 }
52
53 void dapiOnBeforeGC ( Context & ctx ) {
54 for_each_debug_agent([&]( const DebugAgentPtr & pAgent ){

Callers

nothing calls this directly

Calls 2

for_each_debug_agentFunction · 0.85
onUserCommandMethod · 0.45

Tested by

no test coverage detected