aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Moon Flower <moon@coffin.ir> 2025-02-27 18:14:31 +0330
committerGravatar Moon Flower <moon@coffin.ir> 2025-02-27 18:14:31 +0330
commitcc2e2cd436c74b511f2035c3d1e7b7c52e6305d0 (patch)
tree33390f323ef68ddb4f160834aa94c15a150c0af2 /main.c
parentSlight revamp + Algebraic data types (diff)
Overhauled print macro
Changes: - Moved to overloads instead of generics - Printing static strings should be more performant at runtime - Now the macro will give you an error if the type is unrecognized (not for pointers though) - Shortened code size
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.c b/main.c
index f49b452..abd1b21 100644
--- a/main.c
+++ b/main.c
@@ -1,6 +1,5 @@
// This is the test unit, not the actual code.
-#define __MOONSHINE_LIBC_WARNINGS
#include "moonshine.h"
datatype(binarytree, ((leaf, int), (node, binarytree *, int, binarytree *) ));