Attached is a patch (not even compile tested yet) to add the _FOREACH_SAFE
macros and also _NEXT and _PREV as well.
Does this look good or have I made a schoolboy error somewhere?
>>>
>>> This one might even compile!
>> Do your _SAFE variants work for rbtrees with just one element?
>
On 03/03/2019 16:47, a...@100acres.us wrote:
Attached is a patch (not even compile tested yet) to add the _FOREACH_SAFE
macros and also _NEXT and _PREV as well.
Does this look good or have I made a schoolboy error somewhere?
This one might even compile!
Do your _SAFE variants work for rbtrees
>> Attached is a patch (not even compile tested yet) to add the _FOREACH_SAFE
>> macros and also _NEXT and _PREV as well.
>> Does this look good or have I made a schoolboy error somewhere?
>
> This one might even compile!
Do your _SAFE variants work for rbtrees with just one element?
On 03/03/2019 12:49, Roy Marples wrote:
Attached is a patch (not even compile tested yet) to add the
_FOREACH_SAFE macros and also _NEXT and _PREV as well.
Does this look good or have I made a schoolboy error somewhere?
This one might even compile!
Index: rbtree.h
===
Hi List
tree(3) states that it's deprecated and rbtree(3) should be used instead.
There seems to be no equivalent of the _FOREACH_SAFE macros.
I'm really new to rbtree stuff, but to convert from my existing TAILQ
implementation, I need this.
Attached is a patch (not even compile tested yet) to