remove unused "mask" code
This commit is contained in:
@@ -6,7 +6,6 @@ use crsn::module::{CrsnExtension, ParseRes, CrsnUniq};
|
||||
use crsn::runtime::fault::Fault;
|
||||
use crsn::runtime::run_thread::{RunState};
|
||||
use crsn::sexp::SourcePosition;
|
||||
use crsn::asm::data::Mask;
|
||||
use std::io::{Write};
|
||||
use std::convert::TryFrom;
|
||||
use crsn::asm::instr::Cond;
|
||||
@@ -66,7 +65,7 @@ impl CrsnExtension for StdioOps {
|
||||
}
|
||||
|
||||
/// Run-time method called to read an object (using the object handle syntax)
|
||||
fn read_obj(&self, state: &mut RunState, handle: Value, _mask: Mask)
|
||||
fn read_obj(&self, state: &mut RunState, handle: Value)
|
||||
-> Result<Option<Value>, Fault>
|
||||
{
|
||||
if handle == self.hdl_stdin {
|
||||
@@ -82,7 +81,7 @@ impl CrsnExtension for StdioOps {
|
||||
}
|
||||
|
||||
/// Run-time method called to write an object (using the object handle syntax)
|
||||
fn write_obj(&self, state: &mut RunState, handle: Value, _mask: Mask, value: Value) -> Result<Option<()>, Fault>
|
||||
fn write_obj(&self, state: &mut RunState, handle: Value, value: Value) -> Result<Option<()>, Fault>
|
||||
{
|
||||
state.clear_status();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user