aboutsummaryrefslogtreecommitdiff
path: root/include/eval.h
blob: ca722c2a30032a1ebc0b30f5cdf49b0fee79f235 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef ECEX_EVAL_H
#define ECEX_EVAL_H

#include "types.h"

int ecex_eval_source(ecex_t *ed,
                     const char *source,
                     const char *filename,
                     int wrap_as_statements);

int ecex_eval_current_buffer(ecex_t *ed);
int ecex_eval_current_line(ecex_t *ed);
int ecex_eval_current_region(ecex_t *ed);
int ecex_eval_file(ecex_t *ed, const char *path);
int ecex_eval_rerun_last(ecex_t *ed);

#endif