• Philip Withnall's avatar
    glib: Add missing (nullable) and (optional) annotations · 25a7c817
    Philip Withnall authored
    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
    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.
gsocketaddress.c 11.8 KB