mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builtin: fix termux println (#9829)
This commit is contained in:
parent
f4e92997f2
commit
1fbf75f2e8
@ -206,7 +206,8 @@ pub fn println(s string) {
|
|||||||
}
|
}
|
||||||
$if android {
|
$if android {
|
||||||
C.fprintf(C.stdout, c'%.*s\n', s.len, s.str)
|
C.fprintf(C.stdout, c'%.*s\n', s.len, s.str)
|
||||||
} $else $if ios {
|
}
|
||||||
|
$if ios {
|
||||||
C.WrappedNSLog(s.str)
|
C.WrappedNSLog(s.str)
|
||||||
} $else $if freestanding {
|
} $else $if freestanding {
|
||||||
bare_print(s.str, u64(s.len))
|
bare_print(s.str, u64(s.len))
|
||||||
|
Loading…
Reference in New Issue
Block a user