Re: default signal closure via bindingset

Torsten Schoenfeld <kaffeetisch gmx de> writes:

it avoids modifying an input parameter.

The return_value pointer is only a local variable of course.  A bit like

    if (return_value && ! G_VALUE_TYPE (return_value))
        return_value = NULL;

would just mean thereafter G_TYPE_NONE is conflated with the
return_value==NULL case.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]