about summary refs log tree commit diff
path: root/include/stack.h
diff options
context:
space:
mode:
authorNakidai <plaza521@inbox.ru>2024-08-23 20:43:31 +0300
committerNakidai <plaza521@inbox.ru>2024-08-23 20:43:31 +0300
commit2b0e05cbc1e4d9beccd3a5867c8730880f6ecc10 (patch)
treef0e5e31e6259e0b6ea940c1d4c394b976a4bac74 /include/stack.h
parent9e4058194742794f7742f19cb1a0bb3451ce22ea (diff)
download3cl-2b0e05cbc1e4d9beccd3a5867c8730880f6ecc10.tar.gz
3cl-2b0e05cbc1e4d9beccd3a5867c8730880f6ecc10.zip
Start to rewriting code
Since there's some UB in the master I decided to rewrite code from
scratch again. I hope that attempt will be better :D
Diffstat (limited to 'include/stack.h')
-rw-r--r--include/stack.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/stack.h b/include/stack.h
new file mode 100644
index 0000000..27cc2f0
--- /dev/null
+++ b/include/stack.h
@@ -0,0 +1,9 @@
+#ifndef __CCL_STACK_H__
+#define __CCL_STACK_H__
+
+#include "3cl.h"
+
+void ccl_stack_push(struct CCLStack *stack, CCLNum num);
+CCLNum ccl_stack_pop(struct CCLStack *stack);
+
+#endif /* __CCL_STACK_H__ */