diff --git a/NativeScript/runtime/ClassBuilder.mm b/NativeScript/runtime/ClassBuilder.mm index f24ef8ab..ebedae1e 100644 --- a/NativeScript/runtime/ClassBuilder.mm +++ b/NativeScript/runtime/ClassBuilder.mm @@ -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; } }