Change ctypes::intptr_t to int

This commit is contained in:
Tim Chevalier 2012-03-15 17:16:16 -07:00
parent e3222e9905
commit ce3f369047

View file

@ -2,7 +2,7 @@
/*
FIXME: Add a test that uses some native code to verify these sizes,
which are not obviously correct for all potential platforms.
which are not obviously correct for all potential platforms. (see Issue #1990)
*/
export c_char, c_int, c_uint, long, longlong, unsigned, ulong, ulonglong;
@ -44,7 +44,7 @@ type ulonglong = u64;
A signed integer with the same size as a pointer. This is guaranteed
to always be the same type as a Rust `int`.
"]
type intptr_t = uint; // FIXME: int
type intptr_t = int;
#[doc = "
An unsigned integer with the same size as a pointer. This is