Add macros wrapping the gcc alloc_size function attribute. (#523019,
authorMatthias Clasen <mclasen@redhat.com>
Mon, 31 Mar 2008 04:17:22 +0000 (04:17 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 31 Mar 2008 04:17:22 +0000 (04:17 +0000)
commit2af49e60a13b8d2a7aba47cd6af70217d0e263e5
tree28da1a9df211d1892dd347a912aa73a914d05da3
parentf0c679e3bf6a5101c7301cd74feb11b3b73ace52
Add macros wrapping the gcc alloc_size function attribute. (#523019,

2008-03-30  Matthias Clasen  <mclasen@redhat.com>

        * glib/gmacros.h: Add macros wrapping the gcc alloc_size
        function attribute.  (#523019, Rodrigo Moya)

        * glib/gmem.h:
        * glib/gslice.h:
        * glib/gstrfuncs.h: Use the new attribute where appropriate.

svn path=/trunk/; revision=6781
ChangeLog
docs/reference/ChangeLog
docs/reference/glib/glib-sections.txt
docs/reference/glib/tmpl/macros_misc.sgml
glib/gmacros.h
glib/gmem.h
glib/gslice.h
glib/gstrfuncs.h