nanvm_harness/gen.expected/
callbacks.rs1use nanvm_lib::vm::unstable::{f64_any, string_any, string_key};
4use nanvm_lib::vm::{Any, IVm, ToAny, ToArray, ToObject};
5
6#[rustfmt::skip]
7#[allow(clippy::if_same_then_else)]
8pub fn module<A: IVm>(_runtime: Any<A>) -> Result<Any<A>, Any<A>> {
9 Ok([(string_key("default"), [[f64_any(0x403e000000000000), f64_any(0x4024000000000000), f64_any(0x4034000000000000)].to_array().to_any(), [f64_any(0x4008000000000000), f64_any(0x4026000000000000), f64_any(0x4036000000000000)].to_array().to_any(), [f64_any(0x4008000000000000), f64_any(0x4000000000000000)].to_array().to_any(), f64_any(0x404e000000000000), string_any("201030"), f64_any(0x4008000000000000), f64_any(0x4000000000000000), f64_any(0x4000000000000000), f64_any(0xbff0000000000000), true.to_any(), true.to_any(), [f64_any(0x4008000000000000), f64_any(0x403e000000000000), f64_any(0x3ff0000000000000), f64_any(0x4024000000000000), f64_any(0x4000000000000000), f64_any(0x4034000000000000)].to_array().to_any(), [f64_any(0x402a000000000000), f64_any(0x402c000000000000), f64_any(0x402e000000000000)].to_array().to_any()].to_array().to_any())].to_object().to_any())
10}
11
12#[rustfmt::skip]
13pub const JSON: Option<&[u8]> = Some(&[0x5b, 0x5b, 0x33, 0x30, 0x2c, 0x31, 0x30, 0x2c, 0x32, 0x30, 0x5d, 0x2c, 0x5b, 0x33, 0x2c, 0x31, 0x31, 0x2c, 0x32, 0x32, 0x5d, 0x2c, 0x5b, 0x33, 0x2c, 0x32, 0x5d, 0x2c, 0x36, 0x30, 0x2c, 0x22, 0x32, 0x30, 0x31, 0x30, 0x33, 0x30, 0x22, 0x2c, 0x33, 0x2c, 0x32, 0x2c, 0x32, 0x2c, 0x2d, 0x31, 0x2c, 0x74, 0x72, 0x75, 0x65, 0x2c, 0x74, 0x72, 0x75, 0x65, 0x2c, 0x5b, 0x33, 0x2c, 0x33, 0x30, 0x2c, 0x31, 0x2c, 0x31, 0x30, 0x2c, 0x32, 0x2c, 0x32, 0x30, 0x5d, 0x2c, 0x5b, 0x31, 0x33, 0x2c, 0x31, 0x34, 0x2c, 0x31, 0x35, 0x5d, 0x5d]);
14pub const THROWS: bool = false;