Fix #2753469 - bool &OUTPUT and bool *OUTPUT typemaps initialisation.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2009-04-21 20:09:15 +00:00
commit 60f0c7e56b
2 changed files with 7 additions and 0 deletions

View file

@ -192,6 +192,10 @@ OUTPUT_TYPEMAP(double, double, double, DOUBLE_PTR)
#undef OUTPUT_TYPEMAP
%typemap(in) bool *OUTPUT, bool &OUTPUT
%{ *$input = 0;
$1 = ($1_ltype)$input; %}
/*
INOUT typemaps