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:
parent
446aabeffd
commit
e5895fd8c2
1 changed files with 0 additions and 1 deletions
|
|
@ -3207,7 +3207,6 @@ typemap_parm : type typemap_name {
|
||||||
$$->p = NewParm($1,$3);
|
$$->p = NewParm($1,$3);
|
||||||
SwigType *pt = Gettype($$->p);
|
SwigType *pt = Gettype($$->p);
|
||||||
SwigType_add_reference(pt);
|
SwigType_add_reference(pt);
|
||||||
SwigType_add_pointer(pt);
|
|
||||||
if (!CPlusPlus) {
|
if (!CPlusPlus) {
|
||||||
Printf(stderr,"%s : Line %d. Warning. Use of C++ Reference detected. Use the -c++ option.\n", input_file, line_number);
|
Printf(stderr,"%s : Line %d. Warning. Use of C++ Reference detected. Use the -c++ option.\n", input_file, line_number);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue