Hi Li,
On Tue, Sep 01, 2015 at 06:56 AM CEST, eshark wrote:
> I wonder why the sd_bus_slot_unref() always returns NULL? I expect
> that I can check whether the slot->n_ref ==0 by checking its return
> value.
It is my understanding that NULL is returned so that you can
On Tue, 01.09.15 12:56, eshark (eshar...@163.com) wrote:
>
> Hi, all
>
>
> I wonder why the sd_bus_slot_unref() always returns NULL? I expect that
> I can check whether the slot->n_ref ==0 by checking its return value.
> That is
>
>
> _public_ sd_bus_slot*
Hi, all
I wonder why the sd_bus_slot_unref() always returns NULL? I expect that I
can check whether the slot->n_ref ==0 by checking its return value.
That is
_public_ sd_bus_slot* sd_bus_slot_unref(sd_bus_slot *slot) {
if (!slot)
return NULL;