• Christian Hergert's avatar
    util: add dzl_clear_pointer() · 4dfeac09
    Christian Hergert authored
    This is a replacement for g_clear_pointer() that tries
    a bit harder to do type comparisons without silently
    ignoring type incompatibilities.
    
    For cases where you want that, just use
    g_clear_pointer(). But this will hopefully help us
    catch a number of errors before shipping software.
    4dfeac09
dzl-macros.h 3.3 KB