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:
parent
c8e4abd16e
commit
18cb946405
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue