cfns: fix some declarations

pull/2906/head
Delyan Angelov 2019-11-25 12:54:07 +02:00 committed by Alexander Medvednikov
parent 7158a012c3
commit 30042ab54b
1 changed files with 4 additions and 4 deletions

View File

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