mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
GParamSpec: Make constructors introspectable
Commit 282366c326
unnecessarily (skip)ed all the GParamSpec constructors like
g_param_spec_bool(). Make those introspectable by dropping the (skip) and
adding proper transfer annotations.
Keep g_param_spec_value_array() skipped as GValueArray is deprecated.
This commit is contained in:
parent
2c13657b0f
commit
aac8267233
@ -1595,7 +1595,7 @@ _g_param_spec_types_init (void)
|
||||
/* --- GParamSpec initialization --- */
|
||||
|
||||
/**
|
||||
* g_param_spec_char: (skip)
|
||||
* g_param_spec_char:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -1606,7 +1606,7 @@ _g_param_spec_types_init (void)
|
||||
*
|
||||
* Creates a new #GParamSpecChar instance specifying a %G_TYPE_CHAR property.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_char (const gchar *name,
|
||||
@ -1635,7 +1635,7 @@ g_param_spec_char (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_uchar: (skip)
|
||||
* g_param_spec_uchar:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -1646,7 +1646,7 @@ g_param_spec_char (const gchar *name,
|
||||
*
|
||||
* Creates a new #GParamSpecUChar instance specifying a %G_TYPE_UCHAR property.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_uchar (const gchar *name,
|
||||
@ -1675,7 +1675,7 @@ g_param_spec_uchar (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_boolean: (skip)
|
||||
* g_param_spec_boolean:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -1687,7 +1687,7 @@ g_param_spec_uchar (const gchar *name,
|
||||
*
|
||||
* See g_param_spec_internal() for details on property names.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_boolean (const gchar *name,
|
||||
@ -1712,7 +1712,7 @@ g_param_spec_boolean (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_int: (skip)
|
||||
* g_param_spec_int:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -1725,7 +1725,7 @@ g_param_spec_boolean (const gchar *name,
|
||||
*
|
||||
* See g_param_spec_internal() for details on property names.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_int (const gchar *name,
|
||||
@ -1754,7 +1754,7 @@ g_param_spec_int (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_uint: (skip)
|
||||
* g_param_spec_uint:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -1767,7 +1767,7 @@ g_param_spec_int (const gchar *name,
|
||||
*
|
||||
* See g_param_spec_internal() for details on property names.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_uint (const gchar *name,
|
||||
@ -1796,7 +1796,7 @@ g_param_spec_uint (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_long: (skip)
|
||||
* g_param_spec_long:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -1809,7 +1809,7 @@ g_param_spec_uint (const gchar *name,
|
||||
*
|
||||
* See g_param_spec_internal() for details on property names.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_long (const gchar *name,
|
||||
@ -1838,7 +1838,7 @@ g_param_spec_long (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_ulong: (skip)
|
||||
* g_param_spec_ulong:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -1852,7 +1852,7 @@ g_param_spec_long (const gchar *name,
|
||||
*
|
||||
* See g_param_spec_internal() for details on property names.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_ulong (const gchar *name,
|
||||
@ -1881,7 +1881,7 @@ g_param_spec_ulong (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_int64: (skip)
|
||||
* g_param_spec_int64:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -1894,7 +1894,7 @@ g_param_spec_ulong (const gchar *name,
|
||||
*
|
||||
* See g_param_spec_internal() for details on property names.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_int64 (const gchar *name,
|
||||
@ -1923,7 +1923,7 @@ g_param_spec_int64 (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_uint64: (skip)
|
||||
* g_param_spec_uint64:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -1937,7 +1937,7 @@ g_param_spec_int64 (const gchar *name,
|
||||
*
|
||||
* See g_param_spec_internal() for details on property names.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_uint64 (const gchar *name,
|
||||
@ -1966,7 +1966,7 @@ g_param_spec_uint64 (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_unichar: (skip)
|
||||
* g_param_spec_unichar:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -1979,7 +1979,7 @@ g_param_spec_uint64 (const gchar *name,
|
||||
*
|
||||
* See g_param_spec_internal() for details on property names.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_unichar (const gchar *name,
|
||||
@ -2002,7 +2002,7 @@ g_param_spec_unichar (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_enum: (skip)
|
||||
* g_param_spec_enum:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -2015,7 +2015,7 @@ g_param_spec_unichar (const gchar *name,
|
||||
*
|
||||
* See g_param_spec_internal() for details on property names.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_enum (const gchar *name,
|
||||
@ -2048,7 +2048,7 @@ g_param_spec_enum (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_flags: (skip)
|
||||
* g_param_spec_flags:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -2061,7 +2061,7 @@ g_param_spec_enum (const gchar *name,
|
||||
*
|
||||
* See g_param_spec_internal() for details on property names.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_flags (const gchar *name,
|
||||
@ -2094,7 +2094,7 @@ g_param_spec_flags (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_float: (skip)
|
||||
* g_param_spec_float:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -2107,7 +2107,7 @@ g_param_spec_flags (const gchar *name,
|
||||
*
|
||||
* See g_param_spec_internal() for details on property names.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_float (const gchar *name,
|
||||
@ -2136,7 +2136,7 @@ g_param_spec_float (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_double: (skip)
|
||||
* g_param_spec_double:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -2150,7 +2150,7 @@ g_param_spec_float (const gchar *name,
|
||||
*
|
||||
* See g_param_spec_internal() for details on property names.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_double (const gchar *name,
|
||||
@ -2179,7 +2179,7 @@ g_param_spec_double (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_string: (skip)
|
||||
* g_param_spec_string:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -2190,7 +2190,7 @@ g_param_spec_double (const gchar *name,
|
||||
*
|
||||
* See g_param_spec_internal() for details on property names.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_string (const gchar *name,
|
||||
@ -2211,7 +2211,7 @@ g_param_spec_string (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_param: (skip)
|
||||
* g_param_spec_param:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -2223,7 +2223,7 @@ g_param_spec_string (const gchar *name,
|
||||
*
|
||||
* See g_param_spec_internal() for details on property names.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_param (const gchar *name,
|
||||
@ -2247,7 +2247,7 @@ g_param_spec_param (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_boxed: (skip)
|
||||
* g_param_spec_boxed:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -2259,7 +2259,7 @@ g_param_spec_param (const gchar *name,
|
||||
*
|
||||
* See g_param_spec_internal() for details on property names.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_boxed (const gchar *name,
|
||||
@ -2284,7 +2284,7 @@ g_param_spec_boxed (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_pointer: (skip)
|
||||
* g_param_spec_pointer:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -2294,7 +2294,7 @@ g_param_spec_boxed (const gchar *name,
|
||||
*
|
||||
* See g_param_spec_internal() for details on property names.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_pointer (const gchar *name,
|
||||
@ -2313,7 +2313,7 @@ g_param_spec_pointer (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_gtype: (skip)
|
||||
* g_param_spec_gtype:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -2328,7 +2328,7 @@ g_param_spec_pointer (const gchar *name,
|
||||
*
|
||||
* Since: 2.10
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_gtype (const gchar *name,
|
||||
@ -2395,7 +2395,7 @@ g_param_spec_value_array (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_object: (skip)
|
||||
* g_param_spec_object:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
@ -2407,7 +2407,7 @@ g_param_spec_value_array (const gchar *name,
|
||||
*
|
||||
* See g_param_spec_internal() for details on property names.
|
||||
*
|
||||
* Returns: a newly created parameter specification
|
||||
* Returns: (transfer full): a newly created parameter specification
|
||||
*/
|
||||
GParamSpec*
|
||||
g_param_spec_object (const gchar *name,
|
||||
@ -2474,13 +2474,13 @@ g_param_spec_override (const gchar *name,
|
||||
}
|
||||
|
||||
/**
|
||||
* g_param_spec_variant: (skip)
|
||||
* g_param_spec_variant:
|
||||
* @name: canonical name of the property specified
|
||||
* @nick: nick name for the property specified
|
||||
* @blurb: description of the property specified
|
||||
* @type: a #GVariantType
|
||||
* @default_value: (allow-none): a #GVariant of type @type to use as the
|
||||
* default value, or %NULL
|
||||
* @default_value: (allow-none) (transfer full): a #GVariant of type @type to
|
||||
* use as the default value, or %NULL
|
||||
* @flags: flags for the property specified
|
||||
*
|
||||
* Creates a new #GParamSpecVariant instance specifying a #GVariant
|
||||
@ -2490,7 +2490,7 @@ g_param_spec_override (const gchar *name,
|
||||
*
|
||||
* See g_param_spec_internal() for details on property names.
|
||||
*
|
||||
* Returns: the newly created #GParamSpec
|
||||
* Returns: (transfer full): the newly created #GParamSpec
|
||||
*
|
||||
* Since: 2.26
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user