081f14a169
This enables plugins to add new constants, as well as new primops.
11 lines
218 B
C++
11 lines
218 B
C++
#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);
|