Fixes and expands comments on how to use GPB_ENUM_FWD_DECLARE
This commit is contained in:
parent
2ff42dcf2c
commit
c68fc589a9
@ -62,7 +62,11 @@
|
||||
*
|
||||
* ```
|
||||
* GPB_ENUM_FWD_DECLARE(Foo_Enum)
|
||||
* @property (nonatomic) Foo_Enum value;
|
||||
*
|
||||
* @interface BarClass : NSObject
|
||||
* @property (nonatomic) enum Foo_Enum value;
|
||||
* - (void)bazMethod:(enum Foo_Enum):value;
|
||||
* @end
|
||||
* ```
|
||||
**/
|
||||
#define GPB_ENUM_FWD_DECLARE(X) enum X : int32_t
|
||||
|
Loading…
Reference in New Issue
Block a user