Go to the source code of this file.
Macros | |
#define | GOOGLE_PROTOBUF_OBJC_GEN_VERSION 30001 |
#define | GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION 30001 |
#define | GOOGLE_PROTOBUF_OBJC_VERSION 30004 |
#define | GPB_DEPRECATED __attribute__((deprecated)) |
#define | GPB_DEPRECATED_MSG(msg) __attribute__((deprecated)) |
#define | GPB_ENUM(X) NS_ENUM(int32_t, X) |
#define | GPB_ENUM_FWD_DECLARE(X) enum X : int32_t |
#define | GPB_FINAL __attribute__((objc_subclassing_restricted)) |
#define | GPB_INLINE static __inline__ __attribute__((always_inline)) |
#define | GPB_METHOD_FAMILY_NONE __attribute__((objc_method_family(none))) |
#define | GPB_UNSAFE_UNRETAINED |
#define | GPBOBJC_SKIP_MESSAGE_TEXTFORMAT_EXTRAS 0 |
#define GOOGLE_PROTOBUF_OBJC_GEN_VERSION 30001 |
Definition at line 146 of file protobuf/objectivec/GPBBootstrap.h.
#define GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION 30001 |
Definition at line 139 of file protobuf/objectivec/GPBBootstrap.h.
#define GOOGLE_PROTOBUF_OBJC_VERSION 30004 |
Definition at line 135 of file protobuf/objectivec/GPBBootstrap.h.
#define GPB_DEPRECATED __attribute__((deprecated)) |
Attribute used for Objective-C proto interface deprecations without messages.
Definition at line 98 of file protobuf/objectivec/GPBBootstrap.h.
#define GPB_DEPRECATED_MSG | ( | msg | ) | __attribute__((deprecated)) |
Attribute used for Objective-C proto interface deprecations with messages.
Definition at line 108 of file protobuf/objectivec/GPBBootstrap.h.
Definition at line 57 of file protobuf/objectivec/GPBBootstrap.h.
GPB_ENUM_FWD_DECLARE is used for forward declaring enums, for example:
Definition at line 72 of file protobuf/objectivec/GPBBootstrap.h.
#define GPB_FINAL __attribute__((objc_subclassing_restricted)) |
Definition at line 120 of file protobuf/objectivec/GPBBootstrap.h.
#define GPB_INLINE static __inline__ __attribute__((always_inline)) |
Based upon CF_INLINE. Forces inlining in non DEBUG builds.
Definition at line 78 of file protobuf/objectivec/GPBBootstrap.h.
#define GPB_METHOD_FAMILY_NONE __attribute__((objc_method_family(none))) |
Definition at line 116 of file protobuf/objectivec/GPBBootstrap.h.
#define GPB_UNSAFE_UNRETAINED |
For use in public headers that might need to deal with ARC.
Definition at line 90 of file protobuf/objectivec/GPBBootstrap.h.
#define GPBOBJC_SKIP_MESSAGE_TEXTFORMAT_EXTRAS 0 |
The Objective C runtime has complete enough info that most protos don’t end up using this, so leaving it on is no cost or very little cost. If you happen to see it causing bloat, this is the way to disable it. If you do need to disable it, try only disabling it for Release builds as having full TextFormat can be useful for debugging.
Definition at line 39 of file protobuf/objectivec/GPBBootstrap.h.