mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: use stricter declarations for C.getc/1, C.fseeko/3 and C._fseeki64/3
This commit is contained in:
parent
c04fc7bfc2
commit
b7bf4b034e
@ -13,11 +13,11 @@ struct FileInfo {
|
||||
size int
|
||||
}
|
||||
|
||||
fn C.fseeko(voidptr, u64, int) int
|
||||
fn C.fseeko(&C.FILE, u64, int) int
|
||||
|
||||
fn C._fseeki64(voidptr, u64, int) int
|
||||
fn C._fseeki64(&C.FILE, u64, int) int
|
||||
|
||||
fn C.getc(voidptr) int
|
||||
fn C.getc(&C.FILE) int
|
||||
|
||||
// open_file can be used to open or create a file with custom flags and permissions and returns a `File` object.
|
||||
pub fn open_file(path string, mode string, options ...int) ?File {
|
||||
|
Loading…
Reference in New Issue
Block a user