about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcore/ctypes.rs14
1 files changed, 14 insertions, 0 deletions
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
@@ -33,6 +33,13 @@ A signed integer with the same size as a C `long`
 type long = int;
 
 /*
+Type: longlong
+
+A signed integer with the same size as a C `long long`
+*/
+type longlong = i64;
+
+/*
 Type: unsigned
 
 An unsigned integer with the same size as a C `unsigned int`
@@ -47,6 +54,13 @@ An unsigned integer with the same size as a C `unsigned long`
 type ulong = uint;
 
 /*
+Type: ulonglong
+
+An unsigned integer with the same size as a C `unsigned long long`
+*/
+type ulonglong = u64;
+
+/*
 Type: intptr_t
 
 A signed integer with the same size as a pointer. This is