diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-11-26 22:43:30 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-12-29 23:36:21 +0100 |
| commit | 52c18e60929b64285d4bb333f87482d954c9b2e0 (patch) | |
| tree | 836ab3a01d160f45cda4f5a28522fc0bf471011c /src/op/end.c | |
| download | nanowasm-first-step.tar.gz | |
First commitfirst-step
Diffstat (limited to 'src/op/end.c')
| -rw-r--r-- | src/op/end.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/op/end.c b/src/op/end.c new file mode 100644 index 0000000..93cdae7 --- /dev/null +++ b/src/op/end.c @@ -0,0 +1,15 @@ +#include <ops.h> +#include <interp.h> +#include <interp_private.h> +#include <stdbool.h> + +int op_end(struct interp *const i) +{ + i->exit = true; + return 0; +} + +int check_end(FILE *const f) +{ + return 0; +} |
