Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
eval-gc.hh File Reference
#include <cstddef>
#include <memory>

Go to the source code of this file.

Classes

struct  gc
 

Macros

#define GC_MALLOC_ATOMIC   std::malloc
 

Typedefs

template<typename T>
using traceable_allocator = std::allocator<T>
 
template<typename T>
using gc_allocator = std::allocator<T>
 

Functions

void nix::initGC ()
 
void nix::assertGCInitialized ()
 

Function Documentation

◆ assertGCInitialized()

void nix::assertGCInitialized ( )

Make sure initGC has already been called.

◆ initGC()

void nix::initGC ( )

Initialise the Boehm GC, if applicable.