jaeandersson / swig

SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.
http://www.swig.org
Other
23 stars 19 forks source link

[MATLAB] Alternative way to handle varargout #64

Closed jaeandersson closed 8 years ago

jaeandersson commented 8 years ago

@jgillis @KrisThielemans @dcb210 @ibell @tesch1

I realized that the handling of outputs could be made much simpler. There is no need to enforce the "ans" output for all outputs or for none, they can be decided for each overload.

This removed the "feature:optionalunpack" feature which I am not sure what the purpose of was. Any reason against this pull request?

jaeandersson commented 8 years ago

Modified commit pushed: e80dc0acb7f9933b0ab101674f0fb0c87bc2bce8