mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-28 08:36:15 +02:00
23 lines
287 B
C++
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();
|
|
|
|
}
|