[gstreamer-bugs] [Bug 319940] New: Use GLIB macros for GCC extensions

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Oct 26 20:53:35 PDT 2005


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=319940
 GStreamer | gstreamer (core) | Ver: HEAD CVS

           Summary: Use GLIB macros for GCC extensions
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: thaytan at mad.scientist.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


I think we should use a sprinkling of the GCC extensions macros in GLIB through
our 0.9 API. I don't think any of them actually break API, but I'm not sure.

http://rlove.org/log/2005102601 has a decent list of most of the extensions but
misses the best one: G_GNUC_NULL_TERMINATED for functions which require a null
terminator sentinel parameter.

Other interesting ones: G_GNUC_PURE, G_GNUC_MALLOC, G_GNUC_CONST

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list