Skip to content

Commit 832c01a

Browse files
committed
fix: handle methods with pointer type params
fixes NativeScript#109
1 parent 83982aa commit 832c01a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

NativeScript/runtime/ClassBuilder.mm

+2
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,8 @@
466466
return pdw->TypeEncoding()->type;
467467
} else if (wrapper->Type() == WrapperType::ObjCObject) {
468468
return BinaryTypeEncodingType::IdEncoding;
469+
} else if (wrapper->Type() == WrapperType::PointerType) {
470+
return BinaryTypeEncodingType::PointerEncoding;
469471
}
470472
}
471473

0 commit comments

Comments
 (0)