Avoid recursive call to `Insert` in the flat case.
[google-protobuf.git] / objectivec / GPBRootObject_PackagePrivate.h
blob561c935b4f793f0cfb388745605ac5a866d06811
1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2008 Google Inc. All rights reserved.
3 //
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file or at
6 // https://developers.google.com/open-source/licenses/bsd
8 #import <Foundation/Foundation.h>
10 #import "GPBRootObject.h"
12 #import "GPBDescriptor.h"
14 @interface GPBRootObject ()
16 // Globally register.
17 + (void)globallyRegisterExtension:(GPBExtensionDescriptor *)field;
19 @end
21 // Returns YES if the selector was resolved and added to the class,
22 // NO otherwise.
23 BOOL GPBResolveExtensionClassMethod(Class self, SEL sel);