[PATCH] do not call _dbus_warn_check_failed on checks

Havoc Pennington hp at redhat.com
Tue Nov 14 17:31:23 PST 2006


Kevin Krammer wrote:
>> 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 :)

Fair enough ;-) I _would_ like to see a "high-level" C binding, also, 
however, if anyone is up for that.

Havoc



More information about the dbus mailing list