Add support for const references to pointers
They're used in some unit tests and we can support them by handling them just as pointers in C++ wrappers (this was already the case for C wrappers).
This commit is contained in:
parent
3d0fe23e29
commit
1fd4c647b8
3 changed files with 11 additions and 4 deletions
|
|
@ -119,6 +119,7 @@ same_macro_all_primitive_types_but_void(cref_as_value,ctype);
|
|||
// objects
|
||||
%typemap(ctype) SWIGTYPE "$&resolved_type*"
|
||||
%typemap(ctype) SWIGTYPE * "$resolved_type*"
|
||||
%typemap(ctype) SWIGTYPE * const & "$resolved_type*"
|
||||
%typemap(ctype) SWIGTYPE & "$*resolved_type*"
|
||||
%typemap(ctype) SWIGTYPE [ANY] "$resolved_type*"
|
||||
%typemap(ctype) SWIGTYPE * [ANY] "$resolved_type**"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue