Fix cmodtype typemap for "const bool &"

We need bool to be "const", not the pointer.

This fixes a few of the errors in the "bools" unit test.
This commit is contained in:
Vadim Zeitlin 2016-04-18 23:31:18 +02:00
commit 18cb946405

View file

@ -169,7 +169,7 @@ explicit_same_type_unconsted_all_primitive_types_but_void(cmodtype);
%typemap(cmodtype, fragment="stdbool_inc") bool, bool *, bool **, const bool, const bool *, bool * [ANY] "$1_type"
%typemap(cmodtype, fragment="stdbool_inc") bool & "$1_ltype"
%typemap(cmodtype, fragment="stdbool_inc") const bool & "$1_ltype const"
%typemap(cmodtype, fragment="stdbool_inc") const bool & "const $1_ltype"
// Typemaps for assigning wrapper parameters to local variables