Skip to content

Commit d8a0ef1

Browse files
committed
Merge pull request #1477 from erickt/master
Adding longlong and ulonglong types
2 parents 8387896 + ae76a7d commit d8a0ef1

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/libcore/ctypes.rs

+14
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ A signed integer with the same size as a C `long`
3232
*/
3333
type long = int;
3434

35+
/*
36+
Type: longlong
37+
38+
A signed integer with the same size as a C `long long`
39+
*/
40+
type longlong = i64;
41+
3542
/*
3643
Type: unsigned
3744

@@ -46,6 +53,13 @@ An unsigned integer with the same size as a C `unsigned long`
4653
*/
4754
type ulong = uint;
4855

56+
/*
57+
Type: ulonglong
58+
59+
An unsigned integer with the same size as a C `unsigned long long`
60+
*/
61+
type ulonglong = u64;
62+
4963
/*
5064
Type: intptr_t
5165

0 commit comments

Comments
 (0)