mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
[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:
parent
aeffa6d2fc
commit
cb77b0e714
2 changed files with 3 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue