We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64fbf46 commit 9addc71Copy full SHA for 9addc71
Samples/SwiftAndJavaJarSampleLib/src/main/java/com/example/swift/HelloJava2Swift.java
@@ -44,7 +44,7 @@ static void examples() {
44
45
// Example of using an arena; MyClass.deinit is run at end of scope
46
try (var arena = SwiftArena.ofConfined()) {
47
- MySwiftClass obj = new MySwiftClass(arena, 2222, 7777);
+ MySwiftClass obj = new MySwiftClass(2222, 7777, arena);
48
49
// just checking retains/releases work
50
SwiftKit.retain(obj.$memorySegment());
0 commit comments