Go to the documentation of this file.
38 #ifndef GPBOBJC_SKIP_MESSAGE_TEXTFORMAT_EXTRAS
39 #define GPBOBJC_SKIP_MESSAGE_TEXTFORMAT_EXTRAS 0
44 #if !__has_feature(objc_fixed_enum)
45 #error All supported Xcode versions should support objc_fixed_enum.
54 #if (defined(__cplusplus) && __cplusplus && __cplusplus < 201103L)
55 #define GPB_ENUM(X) enum X : int32_t X; enum X : int32_t
57 #define GPB_ENUM(X) NS_ENUM(int32_t, X)
72 #define GPB_ENUM_FWD_DECLARE(X) enum X : int32_t
78 #define GPB_INLINE static __inline__ __attribute__((always_inline))
80 #define GPB_INLINE static __inline__
86 #ifndef GPB_UNSAFE_UNRETAINED
87 #if __has_feature(objc_arc)
88 #define GPB_UNSAFE_UNRETAINED __unsafe_unretained
90 #define GPB_UNSAFE_UNRETAINED
97 #ifndef GPB_DEPRECATED
98 #define GPB_DEPRECATED __attribute__((deprecated))
104 #ifndef GPB_DEPRECATED_MSG
105 #if __has_extension(attribute_deprecated_with_message)
106 #define GPB_DEPRECATED_MSG(msg) __attribute__((deprecated(msg)))
108 #define GPB_DEPRECATED_MSG(msg) __attribute__((deprecated))
116 #define GPB_METHOD_FAMILY_NONE __attribute__((objc_method_family(none)))
120 #define GPB_FINAL __attribute__((objc_subclassing_restricted))
135 #define GOOGLE_PROTOBUF_OBJC_VERSION 30004
139 #define GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION 30001
146 #define GOOGLE_PROTOBUF_OBJC_GEN_VERSION 30001
grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:43