mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
This past reliance doesn't work well with Swift, and the sources were trying to over hand optimize to minimize rebuilds, and that likely isn't worth the trouble, so explicit imports. The remaining places that still use them are where they are needed within the header to deal with relationships between the local definitions or where there is a cycle between the headers and it allows either one to be imported first and still get a complete definition in the using context. PiperOrigin-RevId: 671379912
23 lines
635 B
Objective-C
23 lines
635 B
Objective-C
// Protocol Buffers - Google's data interchange format
|
|
// Copyright 2008 Google Inc. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file or at
|
|
// https://developers.google.com/open-source/licenses/bsd
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import "GPBRootObject.h"
|
|
|
|
#import "GPBDescriptor.h"
|
|
|
|
@interface GPBRootObject ()
|
|
|
|
// Globally register.
|
|
+ (void)globallyRegisterExtension:(GPBExtensionDescriptor *)field;
|
|
|
|
@end
|
|
|
|
// Returns YES if the selector was resolved and added to the class,
|
|
// NO otherwise.
|
|
BOOL GPBResolveExtensionClassMethod(Class self, SEL sel);
|