mirror of
https://github.com/NixOS/nix.git
synced 2025-11-19 16:59:35 +01:00
This is not really part of the evaluator: it is just an integration between Boehm GC and Boost coroutines usable for any purpose. The evaluator (merely) optionally uses it.
16 lines
193 B
C++
16 lines
193 B
C++
#pragma once
|
|
///@file
|
|
|
|
namespace nix {
|
|
|
|
/**
|
|
* Initialise the Boehm GC, if applicable.
|
|
*/
|
|
void initGC();
|
|
|
|
/**
|
|
* Make sure `initGC` has already been called.
|
|
*/
|
|
void assertGCInitialized();
|
|
|
|
}
|