Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions protobuf/runtime/src/com/google/protobuf/ExtensionRegistryLite.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@

typedef ComGoogleProtobufExtensionRegistryLite CGPExtensionRegistryLite;

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnullability-completeness"

@interface ComGoogleProtobufExtensionRegistryLite : NSObject

+ (ComGoogleProtobufExtensionRegistryLite *)getEmptyRegistry;
Expand All @@ -53,6 +56,11 @@ typedef ComGoogleProtobufExtensionRegistryLite CGPExtensionRegistryLite;

@end

@compatibility_alias KNPComGoogleProtobufExtensionRegistryLite
ComGoogleProtobufExtensionRegistryLite;
@compatibility_alias KNPComGoogleProtobufExtensionRegistryLiteCompanion
ComGoogleProtobufExtensionRegistryLite;

J2OBJC_STATIC_INIT(ComGoogleProtobufExtensionRegistryLite)

J2OBJC_TYPE_LITERAL_HEADER(ComGoogleProtobufExtensionRegistryLite)
Expand All @@ -78,4 +86,6 @@ ComGoogleProtobufExtensionRegistryLite *new_ComGoogleProtobufExtensionRegistryLi

CF_EXTERN_C_END

#pragma clang diagnostic pop

#endif // __ComGoogleProtobufExtensionRegistryLite_H__
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@

#include "com/google/protobuf/AbstractMessage.h"
#include "com/google/protobuf/Extension.h"
#include "com/google/protobuf/ExtensionRegistryLite.h"
#include "com/google/protobuf/Message.h"
#include "com/google/protobuf/MessageOrBuilder.h"
#include "com/google/protobuf/common.h"

@class ComGoogleProtobufByteString;
@class ComGoogleProtobufDescriptors_FieldDescriptor;
@class ComGoogleProtobufExtensionRegistryLite;
@class ComGoogleProtobufGeneratedMessage_GeneratedExtension;
struct CGPFieldData;

Expand Down