[PATCH] Add a miniobj macro for pointer acquisitions

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Mar 18 08:53:05 CET 2016


--------
In message <CABoVN9Bvq11tkxwLUjkEHmBe4pfYB5TeZyMLP_WaZ7d_KHVpLQ at mail.gmail.com>
, Dridi Boukelmoune writes:

>> Could we call it "TAKE_OBJ_NOTMULL()" ?
>>
>As I said, I'm lacking imagination here. Maybe STEAL_OBJ_NOTNULL?

Well, we're not "stealing" it, it's being handed to us.

Make it TAKE_OBJ_NOTNULL()


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-dev mailing list