mirror of
https://github.com/NixOS/nix
synced 2025-06-30 03:23:16 +02:00
Remove non-method mk<X> functions
This commit is contained in:
parent
cc08364315
commit
263a8d293c
9 changed files with 99 additions and 121 deletions
|
@ -16,9 +16,9 @@ static GlobalConfig::Register rs(&mySettings);
|
|||
static void prim_anotherNull (EvalState & state, const Pos & pos, Value ** args, Value & v)
|
||||
{
|
||||
if (mySettings.settingSet)
|
||||
mkNull(v);
|
||||
v.mkNull();
|
||||
else
|
||||
mkBool(v, false);
|
||||
v.mkBool(false);
|
||||
}
|
||||
|
||||
static RegisterPrimOp rp("anotherNull", 0, prim_anotherNull);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue