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 30002 |
#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_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 141 of file bloaty/third_party/protobuf/objectivec/GPBBootstrap.h.
#define GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION 30001 |
Definition at line 134 of file bloaty/third_party/protobuf/objectivec/GPBBootstrap.h.
#define GOOGLE_PROTOBUF_OBJC_VERSION 30002 |
Definition at line 130 of file bloaty/third_party/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 bloaty/third_party/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 bloaty/third_party/protobuf/objectivec/GPBBootstrap.h.
Definition at line 57 of file bloaty/third_party/protobuf/objectivec/GPBBootstrap.h.
GPB_ENUM_FWD_DECLARE is used for forward declaring enums, for example:
Definition at line 72 of file bloaty/third_party/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 bloaty/third_party/protobuf/objectivec/GPBBootstrap.h.
#define GPB_METHOD_FAMILY_NONE __attribute__((objc_method_family(none))) |
Definition at line 116 of file bloaty/third_party/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 bloaty/third_party/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 bloaty/third_party/protobuf/objectivec/GPBBootstrap.h.