mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-16 05:59:21 +03:00
a98b5ea2a0
Should help enable a slew of new bindings as well.
9 lines
119 B
JavaScript
9 lines
119 B
JavaScript
global.ArrayBufferTest = class {
|
|
getBuffer() {
|
|
return new ArrayBuffer(3);
|
|
}
|
|
setBuffer(x) {
|
|
// ...
|
|
}
|
|
};
|