Adding lifetime to Externals to allow to expose infromation by reference that exists within externals existance
This commit is contained in:
parent
9170303aad
commit
da3067ca03
|
@ -199,8 +199,8 @@ impl HostError {
|
|||
/// ```
|
||||
pub trait Externals {
|
||||
/// Perform invoke of a host function by specified `index`.
|
||||
fn invoke_index(
|
||||
&mut self,
|
||||
fn invoke_index<'a>(
|
||||
&'a mut self,
|
||||
index: usize,
|
||||
args: RuntimeArgs,
|
||||
) -> Result<Option<RuntimeValue>, Trap>;
|
||||
|
|
Loading…
Reference in New Issue