(&mut self, name: &'static str, function: NativeFn<'gc>)
| 1254 | } |
| 1255 | |
| 1256 | pub(crate) fn define_native_function(&mut self, name: &'static str, function: NativeFn<'gc>) { |
| 1257 | let s = self.intern_static(name); |
| 1258 | self.globals.insert(s, Value::NativeFunction(function)); |
| 1259 | } |
| 1260 | |
| 1261 | fn bind_method( |
| 1262 | &mut self, |
no test coverage detected