]> git.ipfire.org Git - thirdparty/libvirt.git/commit
internal: Introduce macro for stealing pointers
authorPeter Krempa <pkrempa@redhat.com>
Sun, 31 Jul 2016 12:02:08 +0000 (14:02 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 5 Aug 2016 06:38:20 +0000 (08:38 +0200)
commit5b7dedc995a6b33a7be33a67290155627a133a7f
tree40e641bbe6aa926f726cbdd2e0055c7f2fb154fa
parentd5813d72ad2bd8f9735b96bafe2ba350f74b3994
internal: Introduce macro for stealing pointers

VIR_STEAL_PTR copies the pointer from the second argument into the
first argument and then sets the second to NULL.
src/internal.h