File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
- #[ crate_id="boehm#0.1" ] ;
2
- #[ crate_type="rlib" ] ;
3
- #[ feature( globs, macro_rules) ] ;
1
+ #! [ crate_id="boehm#0.1" ]
2
+ #! [ crate_type="rlib" ]
3
+ #! [ feature( globs, macro_rules) ]
4
4
5
5
use std:: { libc, mem} ;
6
6
use std:: kinds:: marker;
@@ -41,8 +41,8 @@ pub fn debug_dump() {
41
41
/// A garbage collected pointer.
42
42
#[ deriving( Clone ) ]
43
43
pub struct Gc < T > {
44
- priv ptr: * mut T ,
45
- priv mark : marker:: NoSend
44
+ ptr : * mut T ,
45
+ mark : marker:: NoSend
46
46
}
47
47
48
48
impl < T : ' static > Gc < T > {
Original file line number Diff line number Diff line change 1
- #[ doc( hidden) ] ;
1
+ #! [ doc( hidden) ]
2
2
use std:: { mem, cell} ;
3
3
use tracing:: { BoehmTraced , GcTracing , GC_WORDSZ } ;
4
4
Original file line number Diff line number Diff line change 1
- #[ allow( dead_code) ] ;
1
+ #! [ allow( dead_code) ]
2
2
3
3
//! Precise GC on the heap.
4
4
//!
@@ -59,9 +59,9 @@ pub fn make_descriptor(bitmap: &[bool]) -> ffi::GC_descr {
59
59
/// That is, run Boehm in precise-on-the-heap mode.
60
60
#[ deriving( Clone ) ]
61
61
pub struct GcTracing < T > {
62
- priv ptr: * mut T ,
63
- priv mark : marker:: NoSend
64
- //priv force_managed: Option<@()>
62
+ ptr : * mut T ,
63
+ mark : marker:: NoSend
64
+ //force_managed: Option<@()>
65
65
}
66
66
67
67
impl < T : BoehmTraced > GcTracing < T > {
You can’t perform that action at this time.
0 commit comments