[−][src]Function rosy::vm::eval_wrapped
pub unsafe fn eval_wrapped(script: &CStr) -> Result<AnyObject>
Evaluates script
under a module binding in an isolated binding, returning
an exception if one is raised.
Variables:
__FILE__
: "(eval)"__LINE__
: starts at 1
Safety
Code executed from script
may void the type safety of objects accessible
from Rust. For example, if one calls push
on Array<A>
with an object of
type B
, then the inserted object will be treated as being of type A
.