mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-11 00:36:20 +02:00
16 lines
277 B
C++
16 lines
277 B
C++
|
#include "eval.hh"
|
||
|
|
||
|
#include <tuple>
|
||
|
#include <vector>
|
||
|
|
||
|
namespace nix {
|
||
|
|
||
|
struct RegisterPrimOp
|
||
|
{
|
||
|
typedef std::vector<std::tuple<std::string, size_t, PrimOpFun>> PrimOps;
|
||
|
static PrimOps * primOps;
|
||
|
RegisterPrimOp(std::string name, size_t arity, PrimOpFun fun);
|
||
|
};
|
||
|
|
||
|
}
|