1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-03-29 00:11:06 +00:00
Alex Crichton b7d7d28418 Expand LongLong to (i32 or f64) instead of i64
This commit tweaks WebIDL expansion of the "long long" and "unsigned long long"
types to expand to a union of an 32-bit integer and a double. This reflects how
almost none of the APIs on the web today actually work with a `BigInt` (what the
previous Rust type of `i64` translates to) and how JS itself fundamentally
operates with these APIs.

Eventually this may not be necessary if we can natively connect to C++ engines
with the `i64` type, but until that day comes this should provide more useful
interfaces as they shoudl work in all browsers.

Closes 
2018-09-10 11:40:20 -07:00
..
2018-08-13 21:58:40 -07:00
2018-08-13 20:09:18 +03:00