rewrite to use ctypes types
This commit is contained in:
parent
b106ef8116
commit
13d743093b
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ native mod zed { }
|
|||
#[abi = "cdecl"]
|
||||
#[nolink]
|
||||
native mod libc {
|
||||
fn write(fd: int, buf: *u8, count: uint) -> int;
|
||||
fn write(fd: int, buf: *u8, count: ctypes::size_t) -> ctypes::ssize_t;
|
||||
}
|
||||
|
||||
#[abi = "cdecl"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue