• Dridi Boukelmoune's avatar
    Add a miniobj macro for taking over pointer · 4a655c0a
    Dridi Boukelmoune authored
    There's a recurring pattern throughout the code base of taking over
    a reference (by nulling the original) essentially when resources are
    freed. Instead of repeating this anti dangling pointers measure, it
    can be wrapped in a documenting utility macro.
    4a655c0a
miniobj.h 1.75 KB