mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-06-29 22:51:56 +00:00
another extension of user functions tests
This commit is contained in:
@ -77,6 +77,7 @@ pub type UserFunctionClosure = Box<UserFunctionInterface>;
|
||||
|
||||
/// User-defined function execution interface
|
||||
pub trait UserFunctionInterface {
|
||||
/// Handles the user function invocation
|
||||
fn call(&mut self, context: CallerContext) -> Result<Option<RuntimeValue>, Error>;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user