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

Method GcGuard

src/simulate/simulate_gc.cpp:970–970  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

968
969 struct GcGuard {
970 GcGuard(Context * c) : ctx(c) { dapiOnBeforeGC(*ctx); }
971 ~GcGuard() { dapiOnAfterGC(*ctx); }
972 Context * ctx = nullptr;
973 };

Callers

nothing calls this directly

Calls 1

dapiOnBeforeGCFunction · 0.85

Tested by

no test coverage detected