[PATCH] do not call _dbus_warn_check_failed on checks
kevin.krammer at gmx.at
Tue Nov 14 17:11:59 PST 2006
On Tuesday 14 November 2006 19:52, Havoc Pennington wrote:
> Kevin Krammer wrote:
> > I think this is even documented somewhere: libdbus is not supposed to be
> > used directly but rather through some binding.
> Yep, this is documented on the front page of the manual.
> > Summing it up there is a need for plain-C bindings, similar to the
> > plain-C++ bindings someone else wrote about a couple of weeks ago.
> I don't think nice plain C bindings would do what Daniel is advocating
> though; Daniel's suggestion IMO makes the API even more low-level, not
> higher-level. To go higher-level a binding needs to make more
> assumptions and have even more default behaviors.
OK, binding might not be the correct term. We could call it a wrapper, but I
wanted to avoid introducing yet another semantically ambiguous term.
The "thing" will add mandatory checks for every argument to all calls.
Since this might be interesting for more developers than just Daniel I'd say
it would be a valid "binding" candidate, i.e. allowed to be maintained in the
git bindings module.
The low level lib remains unchanged and Daniel gets its safe behavior. Every
body is happy :)
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20061115/0539d611/attachment.pgp
More information about the dbus