MCPcopy Create free account
hub / github.com/csyonghe/Spire / InitializeInputStream

Function InitializeInputStream

Source/SpireCore/Preprocessor.cpp:178–183  ·  view source on GitHub ↗

Create a fresh input stream

Source from the content-addressed store, hash-verified

176
177// Create a fresh input stream
178static void InitializeInputStream(Preprocessor* preprocessor, PreprocessorInputStream* inputStream)
179{
180 inputStream->parent = NULL;
181 inputStream->conditional = NULL;
182 inputStream->environment = &preprocessor->globalEnv;
183}
184
185// Destroy an input stream
186static void DestroyInputStream(Preprocessor* /*preprocessor*/, PreprocessorInputStream* inputStream)

Callers 2

InitializeMacroExpansionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected