mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
update hosts with new string conventions
This commit is contained in:
parent
ec403958a3
commit
ba40b6a957
4 changed files with 27 additions and 18 deletions
|
@ -119,7 +119,7 @@ pub extern "C" fn roc_fx_getLine() -> RocStr {
|
|||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn roc_fx_putLine(line: ManuallyDrop<RocStr>) {
|
||||
pub extern "C" fn roc_fx_putLine(line: &RocStr) {
|
||||
let string = line.as_str();
|
||||
println!("{}", string);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue