mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-22 17:41:33 +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) {
|
|
// ...
|
|
}
|
|
};
|