another extension of user functions tests

This commit is contained in:
NikVolf
2017-05-15 16:15:05 +03:00
parent 2063bed2bd
commit 429e54d928
3 changed files with 49 additions and 1 deletions

View File

@ -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>;
}