(&mut self, chunk_id: ChunkId)
| 261 | } |
| 262 | |
| 263 | pub fn get_chunk(&mut self, chunk_id: ChunkId) -> Result<Gc<'gc, Function<'gc>>, VmError> { |
| 264 | self.chunks.get(&chunk_id).copied().ok_or_else(|| { |
| 265 | VmError::RuntimeError(format!("Failed to find chunk with id {}", chunk_id)) |
| 266 | }) |
| 267 | } |
| 268 | |
| 269 | // Call function with params |
| 270 | pub fn call_function( |
no test coverage detected