this.write_scalar(this.machine.argv.expect("machine must be initialized"), dest)?;
}
- "SecRandomCopyBytes" => {
- let len = this.read_scalar(args[1])?.to_machine_usize(this)?;
- let ptr = this.read_scalar(args[2])?.not_undef()?;
- this.gen_random(ptr, len)?;
- this.write_null(dest)?;
- }
-
_ => throw_unsup_format!("can't call foreign function: {}", link_name),
};