Skip to content

Commit 3ad090e

Browse files
committed
---
yaml --- r: 7937 b: refs/heads/snap-stage3 c: b9bb58f h: refs/heads/master i: 7935: 4c28fc5 v: v3
1 parent d53926d commit 3ad090e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 19b9a0d363ff91d0b25800c91aaaf667a6a5effe
4+
refs/heads/snap-stage3: b9bb58f104400294d00cb821dfe15c19ed1b641d
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/src/libcore/ctypes.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FIXME: Add a test that uses some native code to verify these sizes,
55
which are not obviously correct for all potential platforms.
66
*/
77

8-
export c_int, c_uint, long, longlong, unsigned, ulong, ulonglong;
8+
export c_char, c_int, c_uint, long, longlong, unsigned, ulong, ulonglong;
99
export intptr_t, uintptr_t;
1010
export uint32_t;
1111
export void::{};
@@ -16,6 +16,9 @@ export enum;
1616

1717
// PORT adapt to architecture
1818

19+
#[doc = "A signed integer with the same size as a C `char`."]
20+
type c_char = i8;
21+
1922
#[doc(
2023
brief = "A signed integer with the same size as a C `int`."
2124
)]

0 commit comments

Comments
 (0)