After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 594991 - Add a convenience macro to add the nonnull attribute to functions
Add a convenience macro to add the nonnull attribute to functions
Status: RESOLVED DUPLICATE of bug 113075
Product: glib
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2009-09-12 12:01 UTC by Sjoerd Simons
Modified: 2009-09-18 23:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Suggested patch (2.17 KB, patch)
2009-09-12 12:01 UTC, Sjoerd Simons
none Details | Review

Description Sjoerd Simons 2009-09-12 12:01:24 UTC
Created attachment 143055 [details] [review]
Suggested patch

annotating functions as taking non-null arguments is quite useful, the clang
static analysing tools can use this as a hint to give more meaningful results
and also gcc can generate some useful warnings based on this hint
Comment 1 Christian Persch 2009-09-12 12:55:34 UTC
Dup of bug 113075.
Comment 2 Matthias Clasen 2009-09-18 23:23:42 UTC

*** This bug has been marked as a duplicate of bug 113075 ***