aboutsummaryrefslogtreecommitdiff
path: root/sloth.h
diff options
context:
space:
mode:
Diffstat (limited to 'sloth.h')
-rw-r--r--sloth.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sloth.h b/sloth.h
index af6a7c1..809b99d 100644
--- a/sloth.h
+++ b/sloth.h
@@ -15,6 +15,8 @@ typedef struct Sloth {
} Sloth;
void sloth_deinit(Sloth *ctx);
+SlothError sloth_exec(Sloth *ctx, const char *s);
+SlothError sloth_exec_line(Sloth *ctx, char *s);
SlothError sloth_pop(Sloth *ctx, SlothByte *v);
SlothError sloth_push(Sloth *ctx, SlothByte v);
void sloth_inspect_stack(const Sloth *ctx);