Fix class name for nested classes

The feature %interface_impl from swiginterface.i differ on generated function
name from JNI wrapper class when using nested classes without flatnested.
This commit is contained in:
Isaac Pascual Monells 2019-06-27 15:39:37 +02:00 committed by GitHub
commit 22c27cf216
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1876,7 +1876,7 @@ public:
Replaceall(cptr_method_name, ".", "_");
Replaceall(cptr_method_name, "$interfacename", interface_name);
String *upcast_method_name = Swig_name_member(getNSpace(), proxy_class_name, cptr_method_name);
String *upcast_method_name = Swig_name_member(getNSpace(), getClassPrefix(), cptr_method_name);
upcastsCode(smart, upcast_method_name, c_classname, c_baseclass);
Delete(upcast_method_name);
Delete(cptr_method_name);