Skip to content

Commit

Permalink
fix: handle methods with pointer type params
Browse files Browse the repository at this point in the history
fixes #109
  • Loading branch information
Logikgate authored and rigor789 committed Apr 13, 2021
1 parent 541721d commit 7be3d61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NativeScript/runtime/ClassBuilder.mm
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,8 @@
return pdw->TypeEncoding()->type;
} else if (wrapper->Type() == WrapperType::ObjCObject) {
return BinaryTypeEncodingType::IdEncoding;
} else if (wrapper->Type() == WrapperType::PointerType) {
return BinaryTypeEncodingType::PointerEncoding;
}
}

Expand Down

0 comments on commit 7be3d61

Please sign in to comment.