Skip to content

Commit

Permalink
fix: handle methods with pointer type params (#116)
Browse files Browse the repository at this point in the history
fixes #109
  • Loading branch information
Logikgate authored Jul 3, 2021
1 parent 2c4d186 commit a84ae27
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 a84ae27

Please sign in to comment.