diff options
| author | Graydon Hoare <[email protected]> | 2010-11-02 11:11:58 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-11-02 11:11:58 -0700 |
| commit | da13c508d83032ca13679e1e122e96d25ac23283 (patch) | |
| tree | 51c3d466dfedf3ad8e21b56c4769325561b3d650 /src/lib | |
| parent | Un-XFAIL self tests on Darwin (diff) | |
| download | rust-da13c508d83032ca13679e1e122e96d25ac23283.tar.xz rust-da13c508d83032ca13679e1e122e96d25ac23283.zip | |
First pass on splitting stratum and opacity off of effects. WIP.
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(); } |