From: Erick Tryzelaar Date: Mon, 9 Jan 2012 23:14:08 +0000 (-0800) Subject: libcore: add longlong and ulonglong types. X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=ae76a7db5d5747aad7e572911848800e139f127b;p=rust.git libcore: add longlong and ulonglong types. --- diff --git a/src/libcore/ctypes.rs b/src/libcore/ctypes.rs index d26b183a2f3..b9d42275824 100644 --- a/src/libcore/ctypes.rs +++ b/src/libcore/ctypes.rs @@ -32,6 +32,13 @@ */ type long = int; +/* +Type: longlong + +A signed integer with the same size as a C `long long` +*/ +type longlong = i64; + /* Type: unsigned @@ -46,6 +53,13 @@ */ type ulong = uint; +/* +Type: ulonglong + +An unsigned integer with the same size as a C `unsigned long long` +*/ +type ulonglong = u64; + /* Type: intptr_t