Skip to content

Commit 61748c5

Browse files
committed
---
yaml --- r: 10917 b: refs/heads/master c: b9bb58f h: refs/heads/master i: 10915: d9bcac2 v: v3
1 parent a82a9c1 commit 61748c5

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,5 +1,5 @@
11
---
2-
refs/heads/master: 19b9a0d363ff91d0b25800c91aaaf667a6a5effe
2+
refs/heads/master: b9bb58f104400294d00cb821dfe15c19ed1b641d
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/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)