mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-03 07:58:00 +02:00
object-interest: make WP_INTEREST_MATCH_ALL part of the enum
This is to avoid potential issues with g-i parsing. See #540
This commit is contained in:
parent
6ed05b3f00
commit
dee7403f69
1 changed files with 10 additions and 11 deletions
|
|
@ -67,18 +67,17 @@ typedef enum { /*< flags >*/
|
|||
WP_INTEREST_MATCH_PW_GLOBAL_PROPERTIES = (1 << 1),
|
||||
WP_INTEREST_MATCH_PW_PROPERTIES = (1 << 2),
|
||||
WP_INTEREST_MATCH_G_PROPERTIES = (1 << 3),
|
||||
} WpInterestMatch;
|
||||
|
||||
/*!
|
||||
* \brief Special WpInterestMatch value that indicates that all constraints
|
||||
* have been matched
|
||||
* \ingroup wpobjectinterest
|
||||
*/
|
||||
#define WP_INTEREST_MATCH_ALL \
|
||||
(WP_INTEREST_MATCH_GTYPE | \
|
||||
WP_INTEREST_MATCH_PW_GLOBAL_PROPERTIES | \
|
||||
WP_INTEREST_MATCH_PW_PROPERTIES | \
|
||||
WP_INTEREST_MATCH_G_PROPERTIES)
|
||||
/*!
|
||||
* Special WpInterestMatch value that indicates that all constraints
|
||||
* have been matched
|
||||
*/
|
||||
WP_INTEREST_MATCH_ALL =
|
||||
(WP_INTEREST_MATCH_GTYPE |
|
||||
WP_INTEREST_MATCH_PW_GLOBAL_PROPERTIES |
|
||||
WP_INTEREST_MATCH_PW_PROPERTIES |
|
||||
WP_INTEREST_MATCH_G_PROPERTIES),
|
||||
} WpInterestMatch;
|
||||
|
||||
/*!
|
||||
* \brief Flags to alter the behaviour of wp_object_interest_matches_full()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue