From da13c508d83032ca13679e1e122e96d25ac23283 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Tue, 2 Nov 2010 11:11:58 -0700 Subject: First pass on splitting stratum and opacity off of effects. WIP. --- src/lib/map.rs | 2 +- src/lib/sys.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib') 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(); } -- cgit v1.2.3