Typemaps for (int ARGC, char **ARGV) fixup

The default typemap should not be in this library file - this is for
users to add in if they want C default argument support.
This commit is contained in:
William S Fulton 2022-05-15 18:21:59 +01:00
commit 0307d0732c
4 changed files with 2 additions and 12 deletions

View file

@ -1,8 +1,10 @@
%module argcargvtest
#if !defined(SWIGCSHARP) && !defined(SWIGD) && !defined(SWIGGO) && !defined(SWIGGUILE) && !defined(SWIGJAVA) && !defined(SWIGJAVASCRIPT) && !defined(SWIGMZSCHEME) && !defined(SWIGOCTAVE) && !defined(SWIGR) && !defined(SWIGSCILAB)
%include <argcargv.i>
%apply (int ARGC, char **ARGV) { (size_t argc, const char **argv) }
#endif
%inline %{