aboutsummaryrefslogtreecommitdiff
path: root/source/command_line_interface.elna
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-08-18 13:31:47 +0200
committerEugen Wissner <belka@caraus.de>2026-08-18 13:31:47 +0200
commit4f77ad5d019618893c59a0f8d5bfa6b98e50a3be (patch)
treed9e01460ecf94a491be476fbca76b6608276d967 /source/command_line_interface.elna
parent4b7c87a9b53f5317e9f7982bd779d53a66960bdc (diff)
downloadelna-4f77ad5d019618893c59a0f8d5bfa6b98e50a3be.tar.gz
Make Int and Word aliases to fixed-size types
Diffstat (limited to 'source/command_line_interface.elna')
-rw-r--r--source/command_line_interface.elna8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/command_line_interface.elna b/source/command_line_interface.elna
index 6aaf440..62965db 100644
--- a/source/command_line_interface.elna
+++ b/source/command_line_interface.elna
@@ -9,15 +9,15 @@ import cstdlib, cstring, common
type
CommandLine* = record
- input: ^Char;
- output: ^Char;
+ input: ^Word8;
+ output: ^Word8;
lex: Bool;
parse: Bool
end
-proc parse_command_line*(argc: Int; argv: ^^Char): ^CommandLine
+proc parse_command_line*(argc: Int; argv: ^^Word8): ^CommandLine
var
- parameter: ^Char
+ parameter: ^Word8
i: Int
result: ^CommandLine
parsed: Bool