1 : namespace nix {
2 : AFun symDerive = 0;
3 : AFun symEnvBinding = 0;
4 : AFun symDerivationInput = 0;
5 : AFun symDerivationOutput = 0;
6 : AFun symOldClosure = 0;
7 : AFun symOldClosureElem = 0;
8 :
9 553 : void initDerivationsHelpers() {
10 553 : symDerive = ATmakeAFun("Derive", 7, ATfalse);
11 553 : ATprotectAFun(symDerive);
12 553 : symEnvBinding = ATmakeAFun("", 2, ATfalse);
13 553 : ATprotectAFun(symEnvBinding);
14 553 : symDerivationInput = ATmakeAFun("", 2, ATfalse);
15 553 : ATprotectAFun(symDerivationInput);
16 553 : symDerivationOutput = ATmakeAFun("", 4, ATfalse);
17 553 : ATprotectAFun(symDerivationOutput);
18 553 : symOldClosure = ATmakeAFun("Closure", 2, ATfalse);
19 553 : ATprotectAFun(symOldClosure);
20 553 : symOldClosureElem = ATmakeAFun("", 2, ATfalse);
21 553 : ATprotectAFun(symOldClosureElem);
22 553 : }
23 : }
|