Name the anonymous enum for WMButton behaviors.
This is needed so that bindgen cann refer to the enum properly when generating a corresponding Rust type.
This commit is contained in:
@@ -132,7 +132,7 @@ typedef enum {
|
||||
} WMButtonType;
|
||||
|
||||
/* button behaviour masks */
|
||||
enum {
|
||||
typedef enum {
|
||||
WBBSpringLoadedMask = (1 << 0),
|
||||
WBBPushInMask = (1 << 1),
|
||||
WBBPushChangeMask = (1 << 2),
|
||||
@@ -140,7 +140,7 @@ enum {
|
||||
WBBStateLightMask = (1 << 5),
|
||||
WBBStateChangeMask = (1 << 6),
|
||||
WBBStatePushMask = (1 << 7)
|
||||
};
|
||||
} WMButtonBehaviorMask;
|
||||
|
||||
|
||||
/* frame title positions */
|
||||
|
||||
Reference in New Issue
Block a user