[PATCH] Add a miniobj macro for pointer acquisitions

Dridi Boukelmoune dridi at varni.sh
Fri Mar 18 12:31:27 CET 2016


> Make it TAKE_OBJ_NOTNULL()

Done! Semantic patch attached in case anyone's interested.

Should I back-port the macro to the 4.0 and 4.1 branch? So that VMOD
authors and libvarnishapi users may start using it with the next
maintenance releases.

That would be this commit:
https://github.com/varnishcache/varnish-cache/commit/4a655c0

Dridi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: take.cocci
Type: application/octet-stream
Size: 124 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20160318/9b6693bd/attachment.obj>


More information about the varnish-dev mailing list