mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os api: flush_stdout => flush
This commit is contained in:
@ -1074,7 +1074,12 @@ pub fn log(s string) {
|
||||
println('os.log: ' + s)
|
||||
}
|
||||
|
||||
[deprecated]
|
||||
pub fn flush_stdout() {
|
||||
panic('Use `os.flush` instead of `os.flush_stdout`')
|
||||
}
|
||||
|
||||
pub fn flush() {
|
||||
C.fflush(stdout)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user