blob: cd5f3b3219e2cb3d104a64099669a70a832a7914 [file] [log] [blame]
#ifndef FUNC_H_
#define FUNC_H_
#include <vector>
#include "value.h"
using namespace std;
struct FuncInfo {
const char* name;
void (*func)(const vector<Value*>& args, Evaluator* ev, string* s);
int arity;
};
void InitFuncTable();
void QuitFuncTable();
FuncInfo* GetFuncInfo(StringPiece name);
#endif // FUNC_H_