We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 695f817 commit 91e89d0Copy full SHA for 91e89d0
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 75ce03dd7794c125cf103ab224083a26a4da531b
+refs/heads/master: 9c9be62b02eccd177db2311c337c7b469cd19e62
trunk/src/lib/ctypes.rs
@@ -5,6 +5,7 @@ Definitions useful for C interop
5
*/
6
7
type c_int = i32;
8
+
9
type long = int;
10
type unsigned = u32;
11
type ulong = uint;
@@ -13,6 +14,9 @@ type intptr_t = uint;
13
14
type uintptr_t = uint;
15
type uint32_t = u32;
16
17
+// This *must* match with "import c_float = fXX" in std::math per arch
18
+type c_float = f64;
19
20
type size_t = uint;
21
type ssize_t = int;
22
type off_t = uint;
0 commit comments