1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cfns: fix some declarations

This commit is contained in:
Delyan Angelov 2019-11-25 12:54:07 +02:00 committed by Alexander Medvednikov
parent 7158a012c3
commit 30042ab54b

View File

@ -30,9 +30,9 @@ fn C.realpath(byteptr, byteptr) &char
fn C.chmod(byteptr, int)
fn C.printf(byteptr, ...byteptr)
fn C.fputs(byteptr)
fn C.chmod(byteptr, int) int
fn C.printf(byteptr, ...byteptr) int
fn C.fputs(byteptr) int
fn C.fflush(byteptr) int
// TODO define args in these functions
fn C.fseek() int
@ -93,7 +93,7 @@ fn C.syscall() int
// Windows
fn C._setmode(int, int)
fn C._setmode(int, int) int
fn C._fileno(int) int
fn C._get_osfhandle(fd int) C.intptr_t
fn C.GetModuleFileNameW(hModule voidptr, lpFilename &u16, nSize u32) u32