Skip to content
Myr

builtin.h

This file

Path

src/builtin.h

28 lines · 428 bytes · C

Last changed by

Not known.

History of this file

Take it

1#ifndef BUILTIN_H2#define BUILTIN_H34#include "jq.h"5#include "bytecode.h"6#include "compile.h"78int builtins_bind(jq_state *, block*);910#define BINOPS \11  BINOP(plus) \12  BINOP(minus) \13  BINOP(multiply) \14  BINOP(divide) \15  BINOP(mod) \16  BINOP(equal) \17  BINOP(notequal) \18  BINOP(less) \19  BINOP(lesseq) \20  BINOP(greater) \21  BINOP(greatereq) \222324#define BINOP(name) jv binop_ ## name(jv, jv);25BINOPS26#undef BINOP2728#endif