Fix wrapping of references/pointers and qualifiers to member pointers
Also fix Go wrapping of member const function pointers.
This commit is contained in:
parent
cf7d53599c
commit
72ba741d1c
21 changed files with 70 additions and 42 deletions
|
|
@ -1338,6 +1338,8 @@ SWIG_PROXY_CONSTRUCTOR(true, true, SWIGTYPE)
|
|||
|
||||
/* const pointers */
|
||||
%apply SWIGTYPE * { SWIGTYPE *const }
|
||||
%apply SWIGTYPE (CLASS::*) { SWIGTYPE (CLASS::*const) }
|
||||
%apply SWIGTYPE & { SWIGTYPE (CLASS::*const&) }
|
||||
|
||||
/* String & length */
|
||||
%typemap(jni) (char *STRING, size_t LENGTH) "jbyteArray"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue