File Index
Files and directories
Sign in
FILE

basic.j2

File preview with syntax highlighting.

linux-6.19.14/tools/net/sunrpc/xdrgen/templates/C/union/encoder/basic.j2 PLAIN TEXT
 1{# SPDX-License-Identifier: GPL-2.0 #}
 2{% if annotate %}
 3		/* member {{ name }} (basic) */
 4{% endif %}
 5{% if type in pass_by_reference %}
 6		if (!xdrgen_encode_{{ type }}(xdr, &ptr->u.{{ name }}))
 7{% else %}
 8		if (!xdrgen_encode_{{ type }}(xdr, ptr->u.{{ name }}))
 9{% endif %}
10			return false;
~/ Read-only file preview.