about summary refs log tree commit diff
path: root/src/libexpr/primops.hh
blob: 39d23b04a5ce67e8f21c3df3ca0daf911eb9e59a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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);
};

}