blob: 38f3e54c9cd6c421ebafdfac83405ed3d9166214 [file] [log] [blame]
#ifndef BUILTIN_H
#define BUILTIN_H
#include "jq.h"
#include "bytecode.h"
#include "compile.h"
int builtins_bind(jq_state *, block*);
#define BINOPS \
BINOP(plus) \
BINOP(minus) \
BINOP(multiply) \
BINOP(divide) \
BINOP(mod) \
BINOP(equal) \
BINOP(notequal) \
BINOP(less) \
BINOP(lesseq) \
BINOP(greater) \
BINOP(greatereq) \
#define BINOP(name) jv binop_ ## name(jv, jv);
BINOPS
#undef BINOP
#endif