This commit is contained in:
Svyatoslav Nikolsky
2017-06-19 12:09:18 +03:00
parent 7bd7c6df98
commit ad390c95fd
2 changed files with 3 additions and 32 deletions

View File

@ -13,9 +13,6 @@ use interpreter::variable::{VariableInstance, VariableType};
/// Min index of native function.
pub const NATIVE_INDEX_FUNC_MIN: u32 = 10001;
/// User function closure type.
// pub type UserFunctionClosure<'a> = &'a mut FnMut(context: CallerContext) -> Result<Option<RuntimeValue>, Error>;
/// User functions executor.
pub trait UserFunctionExecutor {
/// Execute function with given name.