summaryrefslogtreecommitdiffstats
path: root/builtin.h
blob: b6c26cda54b3d9777fc523fa7d4561bc319ecf26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef BUILTIN_H
#define BUILTIN_H

#include "compile.h"

block builtins_bind(block);


typedef void (*cfunction_ptr)(jv input[], jv output[]);

struct cfunction {
  cfunction_ptr fptr;
  const char* name;
  int nargs;
};


#endif