diff options
Diffstat (limited to 'sloth.h')
-rw-r--r-- | sloth.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |