• Christian Kellner's avatar
    common: bolt_steal to generically steal a value · d3e608f7
    Christian Kellner authored
    Like g_steal_pointer but uses GNU statement expression and can
    thus do steal generic values, not only pointers. The none_value
    arg is -- as the name implies -- the "none" value for that type
    or variable; e.g. NULL for pointers, -1 for file descriptors.
bolt-macros.h 1.6 KB