Fixed typemap argument problem with references.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-08-20 01:25:39 +00:00
commit e5895fd8c2

View file

@ -3207,7 +3207,6 @@ typemap_parm : type typemap_name {
$$->p = NewParm($1,$3);
SwigType *pt = Gettype($$->p);
SwigType_add_reference(pt);
SwigType_add_pointer(pt);
if (!CPlusPlus) {
Printf(stderr,"%s : Line %d. Warning. Use of C++ Reference detected. Use the -c++ option.\n", input_file, line_number);
}