Commit 87bc87ae authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Merge branch '1022-g-object-new-zeros-docs' into 'master'

gobject: Document that g_object_new() zeros out private data

Closes #1022

See merge request !1586
parents b79747ee 41937c36
Pipeline #199269 failed with stages
in 18 minutes and 29 seconds
......@@ -1745,7 +1745,9 @@ g_object_get_type (void)
* Creates a new instance of a #GObject subtype and sets its properties.
*
* Construction parameters (see #G_PARAM_CONSTRUCT, #G_PARAM_CONSTRUCT_ONLY)
* which are not explicitly specified are set to their default values.
* which are not explicitly specified are set to their default values. Any
* private data for the object is guaranteed to be initialized with zeros, as
* per g_type_create_instance().
*
* Note that in C, small integer types in variable argument lists are promoted
* up to #gint or #guint as appropriate, and read back accordingly. #gint is 32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment