Files

21 lines
276 B
C
Raw Permalink Normal View History

2012-08-16 01:00:30 +01:00
#ifndef BUILTIN_H
#define BUILTIN_H
#include "compile.h"
2012-08-16 01:00:30 +01:00
block builtins_bind(block);
2012-08-16 01:00:30 +01:00
2012-12-02 21:25:54 +00:00
typedef void (*cfunction_ptr)(void);
2012-12-02 21:25:54 +00:00
struct cfunction {
cfunction_ptr fptr;
const char* name;
int nargs;
};
jv cfunction_invoke(struct cfunction* function, jv input[]);
2012-08-16 01:00:30 +01:00
#endif