mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-24 14:42:35 +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) {
|
|
// ...
|
|
}
|
|
};
|