summaryrefslogtreecommitdiff
path: root/tnslc/c_wrap_linux.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/c_wrap_linux.tnsl')
-rw-r--r--tnslc/c_wrap_linux.tnsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tnslc/c_wrap_linux.tnsl b/tnslc/c_wrap_linux.tnsl
index 4e7768a..814ec1c 100644
--- a/tnslc/c_wrap_linux.tnsl
+++ b/tnslc/c_wrap_linux.tnsl
@@ -5,6 +5,8 @@ asm "extern malloc, realloc, free, printf, open, close, read, write"
{}uint8 _dec = "%d\n\0"
{}uint8 _ptr = "%p\n\0"
+~void NULL = 0
+
/; _alloc (uint size) [~void]
~void out