Rename local_data methods/types for less keystrokes

This commit is contained in:
Alex Crichton
2013-07-09 17:25:28 -07:00
parent 5c3a2e7eeb
commit cb5b9a477c
12 changed files with 94 additions and 84 deletions

View File

@@ -698,10 +698,10 @@ pub fn get_sctable() -> @mut SCTable {
let sctable_key = (cast::transmute::<(uint, uint),
&fn:Copy(v: @@mut SCTable)>(
(-4 as uint, 0u)));
match local_data::local_data_get(sctable_key) {
match local_data::get(sctable_key) {
None => {
let new_table = @@mut new_sctable_internal();
local_data::local_data_set(sctable_key,new_table);
local_data::set(sctable_key,new_table);
*new_table
},
Some(intr) => *intr