blob: 561c935b4f793f0cfb388745605ac5a866d06811 [file] [log] [blame]
Thomas Van Lenten30650d82015-05-01 08:57:16 -04001// Protocol Buffers - Google's data interchange format
2// Copyright 2008 Google Inc. All rights reserved.
Thomas Van Lenten30650d82015-05-01 08:57:16 -04003//
Joshua Haberman44bd65b2023-09-08 17:43:14 -07004// 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
Thomas Van Lenten30650d82015-05-01 08:57:16 -04007
8#import <Foundation/Foundation.h>
9
10#import "GPBRootObject.h"
11
Thomas Van Lenten231b9682024-09-05 08:21:23 -070012#import "GPBDescriptor.h"
Thomas Van Lenten30650d82015-05-01 08:57:16 -040013
14@interface GPBRootObject ()
15
16// Globally register.
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040017+ (void)globallyRegisterExtension:(GPBExtensionDescriptor *)field;
Thomas Van Lenten30650d82015-05-01 08:57:16 -040018
19@end
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040020
21// Returns YES if the selector was resolved and added to the class,
22// NO otherwise.
23BOOL GPBResolveExtensionClassMethod(Class self, SEL sel);