mmomtchev / swig

This is SWIG JavaScript Evolution, a fork of the SWIG project with modern JavaScript/TypeScript support including WASM and async
http://www.swig.org
Other
11 stars 1 forks source link

Avoid using `$argnum` in `arrays_javascript.i` because in renders the typemap difficult to embed #62

Open mmomtchev opened 2 months ago

mmomtchev commented 2 months ago

$argnum in arrays_javascript.i renders the typemap difficult to embed:

$typemap(in, double [], 1=$1, 2=$1, argnum=??);

If the typemap is embedded with its arguments in reverse order, argnum is impossible to specify.

mmomtchev commented 2 months ago

As so often, the man with the big gun, being unable to properly express himself, posted a number of issues that were supposed to refer to this one:

https://github.com/mmomtchev/magickwand.js/issues/220 https://github.com/mmomtchev/magickwand.js/issues/216