Add deprecation facilities
authorMatthias Maennich <maennich@google.com>
Tue, 21 May 2019 04:39:14 +0000 (05:39 +0100)
committerDodji Seketeli <dodji@redhat.com>
Wed, 22 May 2019 12:33:45 +0000 (14:33 +0200)
commitb0f123c18ec3b4055ad6de19989f94e365484594
treec231befc175a759aa963e52023aee6f6409aceee
parent06494ba89af3e85c27b66339c89e3fa76cbc3afc
Add deprecation facilities

Add the macro 'ABG_DEPRECATED' to mark APIs as to be removed in a next
major release. APIs marked with that flag are supposed to work as
before, but might come with downsides. E.g. they could perform worse or
provide only limited functionality. All deprecated functions shall come
with a hint to equivalent functionality within the non-deprecated part
of the API.

* include/abg-fwd.h: Introduce deprecation macro ABG_DEPRECATED

Signed-off-by: Matthias Maennich <maennich@google.com>
include/abg-fwd.h