[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
This commit is contained in:
Thomas Van Lenten 2025-01-22 07:47:10 -08:00 committed by Copybara-Service
parent aeffa6d2fc
commit cb77b0e714
2 changed files with 3 additions and 5 deletions

View file

@ -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.

View file

@ -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.