about summary refs log tree commit diff
path: root/tests/plugins/plugintest.cc
blob: 6b5e6d7cde214ddcf79dd74cda9fff324754e683 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include "primops.hh"

using namespace nix;

static void prim_anotherNull (EvalState & state, const Pos & pos, Value ** args, Value & v)
{
    mkNull(v);
}

static RegisterPrimOp r("anotherNull", 0, prim_anotherNull);