tools/libxl: gentypes.py: Prefer init_val to init_fn
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 29 Oct 2019 15:00:35 +0000 (15:00 +0000)
committerIan Jackson <ian.jackson@eu.citrix.com>
Tue, 19 Nov 2019 16:33:43 +0000 (16:33 +0000)
commit3afbd233c98e055310d50793f173b47454f0ad04
tree9ca99cfd99f9629c0b25058f3938a1a26d787d8c
parente28eed55a41e4d70c3bd7b0efb1668dd93d8bed6
tools/libxl: gentypes.py: Prefer init_val to init_fn

When both are provided, init_val is likely to be more direct.

No functional change with existing types: C output is identical.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
tools/libxl/gentypes.py