diff --git a/lib/wp/spa-type.h b/lib/wp/spa-type.h index cfdd2b97..5aac96c0 100644 --- a/lib/wp/spa-type.h +++ b/lib/wp/spa-type.h @@ -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);