mirror of
https://github.com/vlang/v.git
synced 2025-09-16 16:02:29 +03:00
*char => charptr everywhere
This commit is contained in:
parent
698c3823ee
commit
3fea8f3de5
16 changed files with 30 additions and 28 deletions
|
@ -83,7 +83,7 @@ pub fn exec(cmd string) ?Result {
|
|||
}
|
||||
buf := [1000]byte
|
||||
mut res := ''
|
||||
for C.fgets(*char(buf), 1000, f) != 0 {
|
||||
for C.fgets(charptr(buf), 1000, f) != 0 {
|
||||
res += tos(buf, vstrlen(buf))
|
||||
}
|
||||
res = res.trim_space()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue