]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpcgen: add g_auto function support
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 21 Dec 2022 17:19:46 +0000 (12:19 -0500)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 3 Nov 2023 18:06:35 +0000 (14:06 -0400)
commit086fa214bb6f7a4d8e3cf3dca79b03aa9312587f
tree230b9d4fdb2c8228def23b139b863c4b588329c3
parenta62486b95feed2cf17ce4adbe794a1ecff9ef22a
rpcgen: add g_auto function support

This will eliminate the need to call xdr_free to clear
pointers from data structures.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
build-aux/syntax-check.mk
scripts/rpcgen/main.py
scripts/rpcgen/rpcgen/generator.py
scripts/rpcgen/tests/demo.c
scripts/rpcgen/tests/demo.h
scripts/rpcgen/tests/test_demo.c
scripts/rpcgen/tests/test_generator.py