Commit Graph

2 Commits

Author SHA1 Message Date
William S Fulton 1f1f773131 Review fixes for the Uint8Array fragment test
Drop noblock=0 from the in typemap - remove_block() only tests for the
presence of the attribute, so noblock=0 strips the braces and the block is
merely put back by the JavaScript module. Omitting it says what was meant.

Correct the comments, which described a %{ ... %} delimited typemap this test
does not have, and note that only jsc and napi define the two names as macros.

Use angle brackets for the library %include and fix the assertIsEqual
parameter order, which was the reverse of every call site.

Closes #3523

Assisted-by: Claude Code (Opus 5)
2026-08-01 10:40:36 +01:00
Erez Geva 4b5c68d40f Add Javascript test for 'SWIG_FromUint8Array' and 'SWIG_ToUint8Array'
Signed-off-by: Erez Geva <ErezGeva2@gmail.com>
2026-08-01 10:40:22 +01:00