From 7ab6e1021611cc6913ee4ab5faf1b31f928a65e9 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 13 Nov 2026 12:01:17 +0100 Subject: Create parser stubs --- arch/platform/darwin/bits/stdio.elna | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 arch/platform/darwin/bits/stdio.elna (limited to 'arch/platform/darwin/bits/stdio.elna') diff --git a/arch/platform/darwin/bits/stdio.elna b/arch/platform/darwin/bits/stdio.elna new file mode 100644 index 0000000..0a173fe --- /dev/null +++ b/arch/platform/darwin/bits/stdio.elna @@ -0,0 +1,21 @@ +(* This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can + obtain one at https://mozilla.org/MPL/2.0/. *) +module + +type + FILE* = extern + +var + __stdinp, __stdoutp, __stderrp: ^FILE := extern + +proc stdin_*() -> ^FILE +return __stdinp + +proc stdout_*() -> ^FILE +return __stdoutp + +proc stderr_*() -> ^FILE +return __stderrp + +end. -- cgit v1.2.3