diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2023-02-18 12:47:34 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2023-02-18 14:16:29 +0000 |
commit | 1341df17fb463b472e8d199627f36df8ff617fab (patch) | |
tree | 5967f7a4f5fe1cc2bd0e14b4cce9e18cc0f94271 /Examples/java/typemap | |
parent | 63bf998b30cfac572dd368dc9d66bfb00b86fc52 (diff) | |
download | swig-1341df17fb463b472e8d199627f36df8ff617fab.tar.gz |
Improved variadic parameter names expansion
Number the variadic parm names instead of not naming them.
Such as:
template<typename... T> int variadicmix1(T... t) { return 20; }
%template(variadicmix1) variadicmix1<A,B,C>;
Used to expand to:
int variadicmix1(A T, B arg1, C arg2)
now:
int variadicmix1(A t1, B t2, C t3)
Also test for generating duplicate parameter names which required
a fix in R. Also results in a few minor changes to parameter names
in generated R code.
Diffstat (limited to 'Examples/java/typemap')
0 files changed, 0 insertions, 0 deletions