summaryrefslogtreecommitdiff
path: root/msvc_recommended_pragmas.h
diff options
context:
space:
mode:
authorChristian Hergert <chergert@redhat.com>2016-10-28 18:29:02 -0700
committerChristian Hergert <chergert@redhat.com>2016-11-22 14:14:37 -0800
commit18a33f72db6a410606674d8d53fb2dadb706091d (patch)
treed12312302fad79c562f796d250ede4b58c2e0b01 /msvc_recommended_pragmas.h
parenta4012abbdf2c6c095ae34a97dca760b2446436aa (diff)
downloadglib-18a33f72db6a410606674d8d53fb2dadb706091d.tar.gz
introspection: use (nullable) or (optional) instead of (allow-none)
If we have an input parameter (or return value) we need to use (nullable). However, if it is an (inout) or (out) parameter, (optional) is sufficient. It looks like (nullable) could be used for everything according to the Annotation documentation, but (optional) is more specific.
Diffstat (limited to 'msvc_recommended_pragmas.h')
0 files changed, 0 insertions, 0 deletions