Skip to content

Commit 746bf32

Browse files
committed
---
yaml --- r: 23758 b: refs/heads/master c: adc1427 h: refs/heads/master v: v3
1 parent fae9957 commit 746bf32

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-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: f6d50d866a5f067d292875193ae5f30a756e6ad3
2+
refs/heads/master: adc1427282b4da8f963550e87cdbe512157958b4
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/libcore/sys.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
//! Misc low level stuff
22
33
use cmp::{Eq, Ord};
4+
use libc::c_void;
45

6+
export FreeGlue;
57
export TypeDesc;
68
export Closure;
79
export get_type_desc;
@@ -12,10 +14,15 @@ export refcount;
1214
export log_str;
1315
export shape_eq, shape_lt, shape_le;
1416

17+
type FreeGlue = fn(*TypeDesc, *c_void);
18+
1519
// Corresponds to runtime type_desc type
1620
enum TypeDesc = {
1721
size: uint,
18-
align: uint
22+
align: uint,
23+
take_glue: uint,
24+
drop_glue: uint,
25+
free_glue: uint
1926
// Remaining fields not listed
2027
};
2128

0 commit comments

Comments
 (0)