aboutsummaryrefslogtreecommitdiffstats
path: root/stack.h
diff options
context:
space:
mode:
authordan <[email protected]>2023-06-02 22:04:36 -0400
committerdan <[email protected]>2023-06-02 22:04:36 -0400
commite0fcdc6e3577f8c40b019396b400928379d928b9 (patch)
tree4009df1ca50183c18de31374a368e9857ae7d666 /stack.h
parent60f09fdabfe942d2cb2d2cdb1537318ff2e89e7b (diff)
downloadforth-e0fcdc6e3577f8c40b019396b400928379d928b9.tar.gz
forth-e0fcdc6e3577f8c40b019396b400928379d928b9.tar.bz2
forth-e0fcdc6e3577f8c40b019396b400928379d928b9.zip
feat: runtime defined words are compiled;
Diffstat (limited to 'stack.h')
-rw-r--r--stack.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stack.h b/stack.h
index 3769fd5..daedca7 100644
--- a/stack.h
+++ b/stack.h
@@ -15,6 +15,8 @@ typedef struct {
stack* stack_new();
+void stack_free(stack* s);
+
stackitem stack_pop(stack* s);
stackitem stack_peek(stack* s);