Skip to content

Commit

Permalink
Fixed signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Mar 23, 2018
1 parent 7541191 commit 4f07273
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/BluetoothAdapter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public final class AndroidBluetoothAdapter: JavaObject {
methodName: "getDefaultAdapter",
methodSig: JNIMethodSignature(
argumentTypes: [],
returnType: .void).rawValue,
returnType: .object(JNICache.classSignature)).rawValue,
methodCache: &JNICache.MethodID.getDefaultAdapter,
args: &__args,
locals: &__locals)
Expand Down
1 change: 1 addition & 0 deletions Sources/BluetoothLowEnergyScanCallback.swift
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ internal extension AndroidBluetoothLowEnergyScanCallbackListenerLocal {
static let signature = JNIMethodSignature(
argumentTypes: [
.long,
.int,
.object(Android.Bluetooth.LE.ScanResult.JNICache.classSignature)
], returnType: .void)

Expand Down
1 change: 1 addition & 0 deletions Sources/WidgetAdapter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ internal extension AndroidWidgetAdapterListenerLocal {
argumentTypes: [
.long,
.int,
.object(Android.View.View.JNICache.classSignature),
.object(Android.View.ViewGroup.ViewGroupJNICache.classSignature)
],
returnType: .object(Android.View.View.JNICache.classSignature)
Expand Down

0 comments on commit 4f07273

Please sign in to comment.