Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Sep 20, 2024
1 parent 1671aef commit bac00ba
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<section class="release" id="unreleased">

## Unreleased (2024-09-15)
## Unreleased (2024-09-20)

<section class="features">

Expand All @@ -22,6 +22,7 @@

<details>

- [`def5eab`](https://github.com/stdlib-js/stdlib/commit/def5eaba7c0d2282113808ab202f60261f5fc2e5) - **docs:** fix description _(by Athan Reines)_
- [`e7508aa`](https://github.com/stdlib-js/stdlib/commit/e7508aa936ebfd9e70f0b80e19a7da76d2c0515f) - **feat:** add a WIP `wasm/module-wrapper` package _(by Athan Reines)_

</details>
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Contributors listed in alphabetical order.

Aayush Khanna <96649223+aayush0325@users.noreply.github.com>
Adarsh Palaskar <adarshpalaskar99@gmail.com>
Aditya Sapra <adityaework@gmail.com>
AgPriyanshu18 <113460573+AgPriyanshu18@users.noreply.github.com>
Expand Down Expand Up @@ -39,6 +40,7 @@ Joey Reed <joeyrreed@gmail.com>
Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
Joris Labie <joris.labie1@gmail.com>
Justin Dennison <justin1dennison@gmail.com>
Kaif Mohd <mdkaifprofession@gmail.com>
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
Khaldon <kahmd1444@gmail.com>
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,15 +303,15 @@ setReadOnly( WasmModule.prototype, 'initializeSync', function initializeSync() {
* ## Notes
*
* - WebAssembly memory can only **grow**, not shrink. Hence, if provided a number of bytes which is less than or equal to the size of the current memory, the function does nothing.
* - When memory is resized, the underlying the `ArrayBuffer` is detached, consequently invalidating any associated typed array views. Before resizing memory, ensure that associated typed array views no longer need byte access and can be garbage collected.
* - When non-shared memory is resized, the underlying the `ArrayBuffer` is detached, consequently invalidating any associated typed array views. Before resizing non-shared memory, ensure that associated typed array views no longer need byte access and can be garbage collected.
*
* @name realloc
* @memberof WasmModule.prototype
* @readonly
* @type {Function}
* @param {NonNegativeInteger} nbytes - memory size (in bytes)
* @throws {TypeError} must provide a nonnegative integer
* @returns {boolean} boolean indicating whether the resize operation was successful and the underlying `ArrayBuffer` was detached
* @returns {boolean} boolean indicating whether the resize operation was successful
*/
setReadOnly( WasmModule.prototype, 'realloc', function realloc( nbytes ) {
var size;
Expand Down Expand Up @@ -440,7 +440,7 @@ setReadOnly( WasmModule.prototype, 'write', function write( byteOffset, values )
* @memberof WasmModule.prototype
* @readonly
* @type {Function}
* @param {NonNegativeInteger} byteOffset - byte offset at which to start writing values
* @param {NonNegativeInteger} byteOffset - byte offset at which to start reading values
* @param {Collection} out - output array for storing read values
* @throws {TypeError} first argument must be a nonnegative integer
* @throws {TypeError} second argument must be a collection
Expand Down

0 comments on commit bac00ba

Please sign in to comment.