Fix ctype typemap for bool& too

Don't add an extra pointer, this is already done at the code level currently.

This makes the "bools" unit test pass.
This commit is contained in:
Vadim Zeitlin 2016-04-19 00:32:27 +02:00
commit 85c9b87f9b
2 changed files with 2 additions and 3 deletions

View file

@ -137,8 +137,8 @@ explicit_same_type_all_primitive_types_but_void(ctype);
%typemap(ctype, fragment="fptr_decl") SWIGTYPE (CLASS::*) "SWIG_CPP_FP"
%typemap(ctype, fragment="stdbool_inc") bool, bool *, const bool, const bool * "$1_ltype"
%typemap(ctype, fragment="stdbool_inc") bool & "$1_basetype*"
%typemap(ctype, fragment="stdbool_inc") const bool & "$1_basetype const *"
%typemap(ctype, fragment="stdbool_inc") bool & "$1_ltype"
%typemap(ctype, fragment="stdbool_inc") const bool & "const $1_ltype"
// Typemaps for wrapper function parameters and its local variables
// void