File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: f6d50d866a5f067d292875193ae5f30a756e6ad3
2
+ refs/heads/master: adc1427282b4da8f963550e87cdbe512157958b4
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
Original file line number Diff line number Diff line change 1
1
//! Misc low level stuff
2
2
3
3
use cmp:: { Eq , Ord } ;
4
+ use libc:: c_void;
4
5
6
+ export FreeGlue ;
5
7
export TypeDesc ;
6
8
export Closure ;
7
9
export get_type_desc;
@@ -12,10 +14,15 @@ export refcount;
12
14
export log_str;
13
15
export shape_eq, shape_lt, shape_le;
14
16
17
+ type FreeGlue = fn ( * TypeDesc , * c_void ) ;
18
+
15
19
// Corresponds to runtime type_desc type
16
20
enum TypeDesc = {
17
21
size: uint,
18
- align: uint
22
+ align: uint,
23
+ take_glue: uint,
24
+ drop_glue: uint,
25
+ free_glue: uint
19
26
// Remaining fields not listed
20
27
} ;
21
28
You can’t perform that action at this time.
0 commit comments