File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 741db24e49580ab3157e7cfaaf5bfb1d5b9afc3b
2
+ refs/heads/master: 219cd4b21f69fef74c4c86b7135d2fcc7b382dbf
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ native "rust-intrinsic" mod rusti {
12
12
13
13
native "rust" mod rustrt {
14
14
fn ivec_reserve[ T ] ( & mutable T [ mutable?] v, uint n) ;
15
- fn ivec_on_heap[ T ] ( & T [ ] v) -> bool ;
15
+ fn ivec_on_heap[ T ] ( & T [ ] v) -> uint ;
16
16
fn ivec_to_ptr[ T ] ( & T [ ] v) -> * T ;
17
17
fn ivec_copy_from_buf[ T ] ( & mutable T [ mutable?] v, * T ptr, uint count) ;
18
18
}
@@ -23,7 +23,7 @@ fn reserve[T](&mutable T[mutable?] v, uint n) {
23
23
}
24
24
25
25
fn on_heap[ T ] ( & T [ ] v) -> bool {
26
- ret rustrt:: ivec_on_heap ( v) ;
26
+ ret rustrt:: ivec_on_heap ( v) != 0 u ;
27
27
}
28
28
29
29
fn to_ptr[ T ] ( & T [ ] v) -> * T {
You can’t perform that action at this time.
0 commit comments