mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-20 05:20:05 +01:00
lib: spa-type: convert constant to a #define to make it work in switch statements
This commit is contained in:
parent
f3625bee61
commit
96848883fe
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ GType wp_spa_type_get_type (void);
|
|||
* \brief Type id representing an invalid SPA type
|
||||
* \ingroup wpspatype
|
||||
*/
|
||||
static const WpSpaType WP_SPA_TYPE_INVALID = 0xffffffff;
|
||||
#define WP_SPA_TYPE_INVALID 0xffffffff
|
||||
|
||||
WP_API
|
||||
WpSpaType wp_spa_type_from_name (const gchar *name);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue