Skip to content
  • Daniel Gröber (dxld)'s avatar
    rts: retainer: Make visit callback easier to implement · 9bf27060
    Daniel Gröber (dxld) authored
    Currently it is necessary for user code to expend at least one extra bit in
    the closure header just to know whether visit() should return true or
    false, to indicate if children should be traversed.
    
    The generic traversal code already has this information in the visited bit
    so simply pass it to the visit callback.
    9bf27060