C# Overloads not being generated for default arguments
Michael <[email protected]> Sun, 17 May 2026 16:18:17 -0600
| Newsgroups | gmane.comp.programming.swig |
|---|---|
| Message-ID | <CACKw9A_EjPAg6yq5qKGNMtBHnxi-TuAiYL9VG8-BCd+kKcx_-Q@mail.gmail.com> |
--===============2527589999479382851== Content-Type: multipart/alternative; boundary="00000000000038114206520ad381" --00000000000038114206520ad381 Content-Type: text/plain; charset="UTF-8" I'm using SWIG 4.1.1 from conda-forge to build C#, Java, and python bindings for the GDAL <https://github.com/OSGeo/gdal/tree/master/swig> project <https://github.com/OSGeo/gdal/tree/master/swig>. The built Java jar file has overloads for all default arguments, as expected, but the .NET assemblies don't. I didn't create these bindings, so I'm not sure if this is the result of a choice made by the original author(s) or a bug. Is there an option which disables the generation of overloads? -- Thank you, Michael Bucari --00000000000038114206520ad381 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div>I'm using SWIG 4.1.1 from=C2=A0conda-forge t= o build C#, Java, and python bindings for <a href=3D"https://github.com/OSG= eo/gdal/tree/master/swig">the GDAL</a><a href=3D"https://github.com/OSGeo/g= dal/tree/master/swig"> project</a>.</div><div>The built Java jar file has o= verloads for all default arguments, as expected, but the .NET assemblies do= n't.</div><div><br></div><div>I didn't create these bindings, so I&= #39;m not sure if this is the result of a choice made by the original autho= r(s) or a bug.</div><div>Is there an option which disables the generation o= f overloads?=C2=A0</div><br></div><span class=3D"gmail_signature_prefix">--= Thank you,</span><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail= =3D"gmail_signature">Michael Bucari</div></div> --00000000000038114206520ad381-- --===============2527589999479382851== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============2527589999479382851== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Swig-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/swig-user --===============2527589999479382851==--