nix-super/src/libexpr/eval-gc.hh
2024-07-22 12:56:01 +02:00

23 lines
287 B
C++

#pragma once
///@file
#include <cstddef>
namespace nix {
/**
* Initialise the Boehm GC, if applicable.
*/
void initGC();
/**
* Make sure `initGC` has already been called.
*/
void assertGCInitialized();
/**
* The number of GC cycles since initGC().
*/
size_t getGCCycles();
}