D-BUS API and ABI (was: Re: ANNOUNCE: D-Bus - 0.31 released)

Daniel Stone daniel at fooishbar.org
Mon Mar 7 17:37:07 PST 2005

On Mon, Mar 07, 2005 at 08:15:38PM -0500, Joe Shaw wrote:
> On Tue, 2005-03-08 at 12:09 +1100, Daniel Stone wrote:
> > Ah, it's not the Python bindings at fault. :)  But in this particular
> > case, I strongly believe we should re-add dbus_pending_call_get_reply
> > as a wrapper around _steal_reply, mark the former as deprecated, and
> > remove it in a big-ABI-shattering release where we bump the soversion.
> Ok, I'll add get_reply() back for 0.23.3, that should be very
> straightforward.  dbus doesn't have any kind of deprecation framework at
> this point, and get_reply() is going to be the least of people's API
> problems when they go to HEAD. :)

Thankyou very much! :)

As for a deprecation framework, you can add attribute(deprecated) or
similar if using gcc, which will generate compile-time warnings, and
there's always the venerable:
fprintf(stderr, "[dbus_pending_call_get_reply] THIS FUNCTION IS DEPRECATED YOU IDIOT\n");

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050308/562410b6/attachment.pgp

More information about the dbus mailing list