rewrite to use ctypes types

This commit is contained in:
Niko Matsakis 2012-02-11 10:14:28 -08:00
parent b106ef8116
commit 13d743093b

View file

@ -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"]