diff options
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/map.rs | 2 | ||||
| -rw-r--r-- | src/lib/sys.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/map.rs b/src/lib/map.rs index 0b897697..4d7a6c03 100644 --- a/src/lib/map.rs +++ b/src/lib/map.rs @@ -12,7 +12,7 @@ import std._vec; type hashfn[K] = fn(&K) -> uint; type eqfn[K] = fn(&K, &K) -> bool; -state type hashmap[K, V] = state obj { +abs state type hashmap[K, V] = state obj { fn size() -> uint; fn insert(&K key, &V val) -> bool; fn contains_key(&K key) -> bool; diff --git a/src/lib/sys.rs b/src/lib/sys.rs index 90e5cc49..77eab003 100644 --- a/src/lib/sys.rs +++ b/src/lib/sys.rs @@ -10,13 +10,13 @@ native "rust" mod rustrt { export size_of; export align_of; export refcount; - export gc; + export do_gc; fn last_os_error() -> str; fn size_of[T]() -> uint; fn align_of[T]() -> uint; fn refcount[T](@T t) -> uint; - fn gc(); + fn do_gc(); fn unsupervise(); } |