mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 17:08:53 +02:00
glib: Add missing (nullable) and (optional) annotations
Add various (nullable) and (optional) annotations which were missing from a variety of functions. Also port a couple of existing (allow-none) annotations in the same files to use (nullable) and (optional) as appropriate instead. Secondly, add various (not nullable) annotations as needed by the new default in gobject-introspection of marking gpointers as (nullable). See https://bugzilla.gnome.org/show_bug.cgi?id=729660. This includes adding some stub documentation comments for the assertion macro error functions, which weren’t previously documented. The new comments are purely to allow for annotations, and hence are marked as (skip) to prevent the symbols appearing in the GIR file. https://bugzilla.gnome.org/show_bug.cgi?id=719966
This commit is contained in:
@@ -1938,7 +1938,7 @@ g_date_compare (const GDate *lhs,
|
||||
/**
|
||||
* g_date_to_struct_tm:
|
||||
* @date: a #GDate to set the struct tm from
|
||||
* @tm: struct tm to fill
|
||||
* @tm: (not nullable): struct tm to fill
|
||||
*
|
||||
* Fills in the date-related bits of a struct tm using the @date value.
|
||||
* Initializes the non-date parts with something sane but meaningless.
|
||||
|
Reference in New Issue
Block a user