Fix so that C++ code is not generated for C wrappers

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-01-10 23:22:34 +00:00
commit ee8bc64a74
2 changed files with 3 additions and 2 deletions

View file

@ -160,7 +160,7 @@
/* typecheck */
%define %value_typecheck_typemap(check,asval_meth,frag,Type...)
%typemap(typecheck,noblock=1,precedence=check,fragment=frag) Type, const Type& {
%typemap(typecheck,precedence=check,fragment=frag) Type, const Type& {
int res = asval_meth($input, NULL);
$1 = SWIG_CheckState(res);
}