mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-26 02:48:54 +02:00
param: Add g_param_value_is_valid
This is wrapper for the new value_is_valid vfunc, but it falls back to using value_validate to obtain the same information.
This commit is contained in:
@@ -326,6 +326,9 @@ gboolean g_param_value_defaults (GParamSpec *pspec,
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_param_value_validate (GParamSpec *pspec,
|
||||
GValue *value);
|
||||
GLIB_AVAILABLE_IN_2_74
|
||||
gboolean g_param_value_is_valid (GParamSpec *pspec,
|
||||
const GValue *value);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_param_value_convert (GParamSpec *pspec,
|
||||
const GValue *src_value,
|
||||
|
Reference in New Issue
Block a user