mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-28 05:52: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) {
|
|
// ...
|
|
}
|
|
};
|