Skip to content

Commit

Permalink
Fixes and expands comments on how to use GPB_ENUM_FWD_DECLARE
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiocampama committed Dec 14, 2016
1 parent 2ff42dc commit c68fc58
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion objectivec/GPBBootstrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c68fc58

Please sign in to comment.