GPBRootObject_PackagePrivate.h 635 B

1234567891011121314151617181920212223
  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
  7. #import <Foundation/Foundation.h>
  8. #import "GPBRootObject.h"
  9. #import "GPBDescriptor.h"
  10. @interface GPBRootObject ()
  11. // Globally register.
  12. + (void)globallyRegisterExtension:(GPBExtensionDescriptor *)field;
  13. @end
  14. // Returns YES if the selector was resolved and added to the class,
  15. // NO otherwise.
  16. BOOL GPBResolveExtensionClassMethod(Class self, SEL sel);