Skip to content

Commit cd5011f

Browse files
committed
remove legacy mode for now
1 parent 23b837e commit cd5011f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Sources/JExtractSwiftLib/JNI/JNISwift2JavaGenerator+JavaTranslation.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -523,9 +523,6 @@ extension JNISwift2JavaGenerator {
523523
isThrowing: originalFunctionSignature.isThrowing
524524
)
525525
nativeFunctionSignature.result.outParameters.append(.init(name: "result_future", type: nativeFutureType))
526-
527-
case .future:
528-
fatalError()
529526
}
530527
}
531528

Sources/SwiftJavaConfigurationShared/JExtract/JExtractAsyncFuncMode.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public enum JExtractAsyncFuncMode: String, Codable {
2323
/// Android 23 and below.
2424
///
2525
/// - Note: Prefer using the `completableFuture` mode instead, if possible.
26-
case future
26+
// case future
2727
}
2828

2929
extension JExtractAsyncFuncMode {

0 commit comments

Comments
 (0)