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:
parent
18cb946405
commit
85c9b87f9b
2 changed files with 2 additions and 3 deletions
|
|
@ -58,7 +58,6 @@ FAILING_CPP_TESTS := \
|
|||
arrays_dimensionless \
|
||||
arrays_global \
|
||||
arrays_global_twodim \
|
||||
bools \
|
||||
char_binary \
|
||||
char_strings \
|
||||
class_ignore \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue