remove spurious code generation (temp variables) in director code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
diff --git a/SWIG/Source/Modules/java.cxx b/SWIG/Source/Modules/java.cxx
index fa69244..fe91a13 100644
--- a/SWIG/Source/Modules/java.cxx
+++ b/SWIG/Source/Modules/java.cxx
@@ -3105,10 +3105,10 @@
}
/* Attach the standard typemaps */
- Swig_typemap_attach_parms("out", l, w);
- Swig_typemap_attach_parms("jni", l, w);
- Swig_typemap_attach_parms("jtype", l, w);
- Swig_typemap_attach_parms("directorin", l, w);
+ Swig_typemap_attach_parms("out", l, 0);
+ Swig_typemap_attach_parms("jni", l, 0);
+ Swig_typemap_attach_parms("jtype", l, 0);
+ Swig_typemap_attach_parms("directorin", l, 0);
Swig_typemap_attach_parms("javadirectorin", l, 0);
/* Add Java environment pointer to wrapper */
diff --git a/SWIG/Source/Modules/ocaml.cxx b/SWIG/Source/Modules/ocaml.cxx
index 6095213..5d5e7ec 100755
--- a/SWIG/Source/Modules/ocaml.cxx
+++ b/SWIG/Source/Modules/ocaml.cxx
@@ -1556,9 +1556,8 @@
/* attach typemaps to arguments (C/C++ -> Ocaml) */
String *arglist = NewString("");
- Swig_typemap_attach_parms("in", l, w);
- Swig_typemap_attach_parms("directorin", l, w);
- Swig_typemap_attach_parms("directorout", l, w);
+ Swig_typemap_attach_parms("in", l, 0);
+ Swig_typemap_attach_parms("directorin", l, 0);
Swig_typemap_attach_parms("directorargout", l, w);
Parm* p;
diff --git a/SWIG/Source/Modules/ruby.cxx b/SWIG/Source/Modules/ruby.cxx
index 7143441..435c3c5 100644
--- a/SWIG/Source/Modules/ruby.cxx
+++ b/SWIG/Source/Modules/ruby.cxx
@@ -2342,9 +2342,8 @@
*/
typemap_copy_pname_to_lname(l);
- Swig_typemap_attach_parms("in", l, w);
- Swig_typemap_attach_parms("directorin", l, w);
- Swig_typemap_attach_parms("directorout", l, w);
+ Swig_typemap_attach_parms("in", l, 0);
+ Swig_typemap_attach_parms("directorin", l, 0);
Swig_typemap_attach_parms("directorargout", l, w);
int num_arguments = emit_num_arguments(l);