mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
os: move C struct declarations in their own _default.c.v files (#12268)
This commit is contained in:
parent
0401b5ece0
commit
eed94c727c
12 changed files with 78 additions and 55 deletions
|
@ -144,7 +144,11 @@ fn C.sleep(seconds u32) u32
|
|||
[trusted]
|
||||
fn C.usleep(usec u32) int
|
||||
|
||||
fn C.opendir(&char) voidptr
|
||||
[typedef]
|
||||
struct C.DIR {
|
||||
}
|
||||
|
||||
fn C.opendir(&char) &C.DIR
|
||||
|
||||
fn C.closedir(dirp &C.DIR) int
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue