1 2 3 4 5 6 7
use crate::vm::Pr47Ptr; use crate::error::Pr47Error; pub trait Pr47Func { fn call_with_refs(&self, args: &[Pr47Ptr]) -> std::result::Result<Pr47Ptr, Pr47Error>; unsafe fn call_with_refs_prechecked(&self, args: &[Pr47Ptr]) -> Pr47Ptr; }