Fix sys::refcount and remove dbg::refcount

This commit is contained in:
Ben Blum
2012-06-28 14:40:31 -04:00
parent ad8280712f
commit af2d01e36b
6 changed files with 12 additions and 31 deletions

View File

@@ -127,13 +127,6 @@ rust_env_pairs() {
}
#endif
extern "C" CDECL intptr_t
refcount(intptr_t *v) {
// Passed-in value has refcount 1 too high
// because it was ref'ed while making the call.
return (*v) - 1;
}
extern "C" CDECL void
unsupervise() {
rust_task *task = rust_get_current_task();