From ca9da4c3305745bca16107eec40e1b03a135026a Mon Sep 17 00:00:00 2001 From: apio Date: Thu, 9 Jun 2022 17:24:38 +0200 Subject: [PATCH] new syntax better --- core/__internal/io/linux.sp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/core/__internal/io/linux.sp b/core/__internal/io/linux.sp index ab9a7d3..ec7f05b 100644 --- a/core/__internal/io/linux.sp +++ b/core/__internal/io/linux.sp @@ -3,13 +3,5 @@ import core/string; namespace io { - @out (str String) { - linux.sys_write(1,(i8*)String,string.len(String)); - } - - @in (str) () { - i8* buffer = i8*(256); - linux.sys_read(0,buffer,256); - return (str)buffer; - } + } \ No newline at end of file