update hosts with new string conventions

This commit is contained in:
Folkert 2022-03-13 00:16:21 +01:00
parent ec403958a3
commit ba40b6a957
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
4 changed files with 27 additions and 18 deletions

View file

@ -146,7 +146,7 @@ fn roc_fx_getLine_help() !RocStr {
return str.RocStr.init(@ptrCast([*]const u8, line), line.len);
}
pub export fn roc_fx_putLine(rocPath: str.RocStr) i64 {
pub export fn roc_fx_putLine(rocPath: *str.RocStr) i64 {
const stdout = std.io.getStdOut().writer();
for (rocPath.asSlice()) |char| {