Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,10 @@ extension JNISwift2JavaGenerator {
return
}

let allSymbols = generatedCDeclSymbolNames + ["JNI_OnLoad"]

let symbolLines =
generatedCDeclSymbolNames
allSymbols
.sorted()
.map { " \($0);" }
.joined(separator: "\n")
Expand All @@ -170,7 +172,7 @@ extension JNISwift2JavaGenerator {
atomically: true,
encoding: .utf8,
)
logger.info("[swift-java] Generated linker export list (\(generatedCDeclSymbolNames.count) symbols): \(outputPath)")
logger.info("[swift-java] Generated linker export list (\(allSymbols.count) symbols): \(outputPath)")
}

/// Prints the extension needed to make allow upcalls from Swift to Java for protocols
Expand Down
Loading