On 12 April 2016 at 22:00, Ben Pfaff <[email protected]> wrote:
> It's pretty easy to forget to update the pointer to an ofpact when
> finishing it.  This commit forces the caller to pass a pointer-to-pointer
> instead, and uses that to automatically update the pointer.  There still
> could be cases that retain other pointers into the ofpbuf, but I imagine
> that this is harder to misuse.
>
> Suggested-by: Joe Stringer <[email protected]>
> Signed-off-by: Ben Pfaff <[email protected]>

Just the kind of API I was looking for, but wasn't inventive enough to
wander into preprocessor territory to implement ;-)

Acked-by: Joe Stringer <[email protected]>
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to