mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-28 16:46:16 +02:00
5b53d8fec3
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();
|
|
|
|
}
|