Change get_func_type's return type to SignatureType.
It's the same thing, but provides more readability.
This commit is contained in:
@@ -388,7 +388,7 @@ impl<'data, 'module> cton_wasm::ModuleEnvironment<'data> for ModuleEnvironment<'
|
|||||||
self.module.functions.push(sig_index);
|
self.module.functions.push(sig_index);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_func_type(&self, func_index: FunctionIndex) -> usize {
|
fn get_func_type(&self, func_index: FunctionIndex) -> SignatureIndex {
|
||||||
self.module.functions[func_index]
|
self.module.functions[func_index]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user