Add better deprecation macros
authorMatthias Clasen <mclasen@redhat.com>
Tue, 11 Oct 2011 17:06:58 +0000 (13:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 11 Oct 2011 17:13:27 +0000 (13:13 -0400)
commit0da0411a4a2f9efde4f8fc3d6bf504ee488c2e4a
treebc5bac4fc4080401907b1624ccb8b3364342d4c5
parenta73113908f310c8ccc532d04f4cf4b4625860962
Add better deprecation macros

Unlike G_GNUC_... macros, the new G_DEPRECATED[_FOR] are
meant as abstractions that work with different compilers.
Using a new name also lets us restrict it to 'must be placed
before the declaration', which works with more compilers.

https://bugzilla.gnome.org/show_bug.cgi?id=661438
docs/reference/glib/glib-sections.txt
glib/gmacros.h