xref: /linux/tools/net/sunrpc/xdrgen/templates/C/union/decoder/basic.j2 (revision 7038f9f2e86d506c6a43079864e0112045202a8f)
1{# SPDX-License-Identifier: GPL-2.0 #}
2{% if annotate %}
3		/* member {{ name }} (basic) */
4{% endif %}
5		if (!xdrgen_decode_{{ type }}(xdr, &ptr->u.{{ name }}))
6			return false;
7