mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
Move GC-related definitions to eval-gc.hh
This commit is contained in:
parent
31d408c351
commit
589d8f1f2b
7 changed files with 19 additions and 39 deletions
|
@ -14,12 +14,6 @@
|
|||
#include "nix_api_value.h"
|
||||
#include "value/context.hh"
|
||||
|
||||
#if HAVE_BOEHMGC
|
||||
# include "gc/gc.h"
|
||||
# define GC_INCLUDE_NEW 1
|
||||
# include "gc_cpp.h"
|
||||
#endif
|
||||
|
||||
// Internal helper functions to check [in] and [out] `Value *` parameters
|
||||
static const nix::Value & check_value_not_null(const nix_value * value)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue