MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / createContext

Method createContext

unittests/catch.hpp:7044–7047  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7042 IMutableContext *IMutableContext::currentContext = nullptr;
7043
7044 void IMutableContext::createContext()
7045 {
7046 currentContext = new Context();
7047 }
7048
7049 void cleanUpContext() {
7050 delete IMutableContext::currentContext;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected