[ObjC] Move `GPBEnumDescriptorFunc` to be private.

The type is internal to the generated code/runtime and isn't exposed
in any public api, so go ahead and move it into the Descriptor private
header.

PiperOrigin-RevId: 718383227
pull/20057/head
Thomas Van Lenten 1 month ago committed by Copybara-Service
parent aeffa6d2fc
commit cb77b0e714
  1. 3
      objectivec/GPBDescriptor_PackagePrivate.h
  2. 5
      objectivec/GPBRuntimeTypes.h

@ -77,6 +77,9 @@ typedef struct GPBFileDescription {
GPBFileSyntax syntax;
} GPBFileDescription;
// Fetches an EnumDescriptor.
typedef GPBEnumDescriptor *(*GPBEnumDescriptorFunc)(void);
// Describes a single field in a protobuf as it is represented as an ivar.
typedef struct GPBMessageFieldDescription {
// Name of ivar.

@ -17,11 +17,6 @@
* */
typedef BOOL (*GPBEnumValidationFunc)(int32_t);
/**
* Fetches an EnumDescriptor.
* */
typedef GPBEnumDescriptor *(*GPBEnumDescriptorFunc)(void);
/**
* Magic value used at runtime to indicate an enum value that wasn't know at
* compile time.

Loading…
Cancel
Save