mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-26 09:23:55 +00:00
18 lines
557 B
C
18 lines
557 B
C
#ifndef LREC_EVALUATOR_H
|
|
#define LREC_EVALUATOR_H
|
|
|
|
#include "lib/context.h"
|
|
#include "containers/lrec.h"
|
|
#include "containers/mlrval.h"
|
|
|
|
struct _lrec_evaluator_t; // forward reference for method declarations
|
|
typedef mv_t lrec_evaluator_process_func_t(lrec_t* prec, context_t* pctx, void* pvstate);
|
|
typedef void lrec_evaluator_free_func_t(struct _lrec_evaluator_t*);
|
|
|
|
typedef struct _lrec_evaluator_t {
|
|
void* pvstate;
|
|
lrec_evaluator_process_func_t* pprocess_func;
|
|
lrec_evaluator_free_func_t* pfree_func;
|
|
} lrec_evaluator_t;
|
|
|
|
#endif // LREC_EVALUATOR_H
|