Skip to content

Commit 91e89d0

Browse files
bogglebrson
authored andcommitted
---
yaml --- r: 6460 b: refs/heads/master c: 9c9be62 h: refs/heads/master v: v3
1 parent 695f817 commit 91e89d0

File tree

4 files changed

+306
-65
lines changed

4 files changed

+306
-65
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 75ce03dd7794c125cf103ab224083a26a4da531b
2+
refs/heads/master: 9c9be62b02eccd177db2311c337c7b469cd19e62

trunk/src/lib/ctypes.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Definitions useful for C interop
55
*/
66

77
type c_int = i32;
8+
89
type long = int;
910
type unsigned = u32;
1011
type ulong = uint;
@@ -13,6 +14,9 @@ type intptr_t = uint;
1314
type uintptr_t = uint;
1415
type uint32_t = u32;
1516

17+
// This *must* match with "import c_float = fXX" in std::math per arch
18+
type c_float = f64;
19+
1620
type size_t = uint;
1721
type ssize_t = int;
1822
type off_t = uint;

0 commit comments

Comments
 (0)