From: GitHub <no...@gi...> - 2017-02-08 20:17:09
|
Branch: refs/heads/master Home: https://github.com/swig/swig Commit: 18ac3030df9b90e217bdc14646385c438c5966e9 https://github.com/swig/swig/commit/18ac3030df9b90e217bdc14646385c438c5966e9 Author: Jean-Claude Manoli <jc...@ma...> Date: 2017-02-05 (Sun, 05 Feb 2017) Changed paths: M Lib/csharp/std_vector.i Log Message: ----------- Replace ICollection with IEnumerable<T> Adding a constructor that accepts IEnumerable<T> avoids the boxing and unboxing overhead of the original constructor, when the type parameter is a value type. This also allows passing IList<T>, which does not implement ICollection (ironically the generated type implements IList<T>). Kept the original constructor for backward compatibility, but replaced ICollection with IEnumerable for added flexibility. Commit: 281eec7d18b5129175a266b3fcdb6218cb0d9090 https://github.com/swig/swig/commit/281eec7d18b5129175a266b3fcdb6218cb0d9090 Author: William S Fulton <ws...@fu...> Date: 2017-02-08 (Wed, 08 Feb 2017) Changed paths: M Examples/test-suite/csharp/li_std_vector_runme.cs Log Message: ----------- Add tests for constructing C# std::vector from various container interface types Commit: 4262fab6260245b467c9e6723930dcae98e0e9e3 https://github.com/swig/swig/commit/4262fab6260245b467c9e6723930dcae98e0e9e3 Author: William S Fulton <ws...@fu...> Date: 2017-02-08 (Wed, 08 Feb 2017) Changed paths: M Examples/test-suite/csharp/li_std_vector_runme.cs M Lib/csharp/std_vector.i Log Message: ----------- Merge branch 'jcsharp-patch-1' * jcsharp-patch-1: Add tests for constructing C# std::vector from various container interface types Replace ICollection with IEnumerable<T> Commit: b3a61a3876a0d44cdf00027199ae006b218848f0 https://github.com/swig/swig/commit/b3a61a3876a0d44cdf00027199ae006b218848f0 Author: William S Fulton <ws...@fu...> Date: 2017-02-08 (Wed, 08 Feb 2017) Changed paths: M CHANGES.current Log Message: ----------- Add C# IEnumerable improvement to changes file Compare: https://github.com/swig/swig/compare/17302100139e...b3a61a3876a0 |