Allow extern variables
This commit is contained in:
@@ -16,6 +16,7 @@ proc write*(fd: Int, buf: Pointer, Word: Int) -> Int; extern;
|
||||
|
||||
proc write_s*(value: String);
|
||||
begin
|
||||
(* fwrite(cast(value.ptr: Pointer), value.length, 1u, stdout) *)
|
||||
write(1, cast(value.ptr: Pointer), cast(value.length: Int))
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user