mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 771617 - Fix WinFile.{ReadFile, WriteFile} to accept void*. r=froydnj
This commit is contained in:
parent
f43abd5010
commit
a90159d61b
@ -281,7 +281,7 @@
|
||||
declareFFI("ReadFile", ctypes.winapi_abi,
|
||||
/*return*/ Types.zero_or_nothing,
|
||||
/*file*/ Types.HANDLE,
|
||||
/*buffer*/ Types.char.out_ptr,
|
||||
/*buffer*/ Types.voidptr_t,
|
||||
/*nbytes*/ Types.DWORD,
|
||||
/*nbytes_read*/Types.DWORD.out_ptr,
|
||||
/*overlapped*/Types.void_t.inout_ptr // FIXME: Implement?
|
||||
@ -315,7 +315,7 @@
|
||||
declareFFI("WriteFile", ctypes.winapi_abi,
|
||||
/*return*/ Types.zero_or_nothing,
|
||||
/*file*/ Types.HANDLE,
|
||||
/*buffer*/ Types.char.in_ptr,
|
||||
/*buffer*/ Types.voidptr_t,
|
||||
/*nbytes*/ Types.DWORD,
|
||||
/*nbytes_wr*/Types.DWORD.out_ptr,
|
||||
/*overlapped*/Types.void_t.inout_ptr // FIXME: Implement?
|
||||
|
Loading…
Reference in New Issue
Block a user