mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
* More primops.
This commit is contained in:
parent
5b72d8a749
commit
c3aa615a5f
4 changed files with 56 additions and 97 deletions
|
@ -196,6 +196,8 @@ private:
|
|||
|
||||
void createBaseEnv();
|
||||
|
||||
void addConstant(const string & name, Value & v);
|
||||
|
||||
void addPrimOp(const string & name,
|
||||
unsigned int arity, PrimOp primOp);
|
||||
|
||||
|
@ -210,6 +212,8 @@ public:
|
|||
/* Allocation primitives. */
|
||||
Value * allocValues(unsigned int count);
|
||||
Env & allocEnv();
|
||||
|
||||
void mkList(Value & v, unsigned int length);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue