Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
fix primitive boxing
Browse files Browse the repository at this point in the history
  • Loading branch information
HosseinYousefi committed Jul 21, 2023
1 parent 16d71ea commit 8bb8e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jnigen/lib/src/bindings/dart_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1601,7 +1601,7 @@ class _InterfaceReturnBox extends TypeVisitor<String> {
if (node.name == 'void') {
return '$_jni.nullptr';
}
return '$_jni.J${node.name.capitalize()}(\$r).reference';
return '$_jni.J${node.boxedName}(\$r).reference';
}
}

Expand Down

0 comments on commit 8bb8e48

Please sign in to comment.