You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/wasm/module-wrapper/lib/main.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -303,15 +303,15 @@ setReadOnly( WasmModule.prototype, 'initializeSync', function initializeSync() {
303
303
* ## Notes
304
304
*
305
305
* - 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.
306
-
* - 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.
306
+
* - 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.
307
307
*
308
308
* @name realloc
309
309
* @memberof WasmModule.prototype
310
310
* @readonly
311
311
* @type {Function}
312
312
* @param {NonNegativeInteger} nbytes - memory size (in bytes)
313
313
* @throws {TypeError} must provide a nonnegative integer
314
-
* @returns {boolean} boolean indicating whether the resize operation was successful and the underlying `ArrayBuffer` was detached
314
+
* @returns {boolean} boolean indicating whether the resize operation was successful
0 commit comments