]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: TristateBool and TristateSwitch are interchangeable
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Fri, 19 Feb 2016 14:30:14 +0000 (15:30 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 22 Feb 2016 14:13:56 +0000 (15:13 +0100)
commitef766337ff08c84827fc8a4db3f42ab8e8cbac38
tree8baa4b05149ac86265b6629e470b9f4fa22aac05
parent85a687c6b2498cfb08b88bcf766ed3ce35ff3c9d
util: TristateBool and TristateSwitch are interchangeable

It may be useful in some cases to call TristateSwitch helper with TristateBool.
Document that enum values equivalency in the code.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
src/util/virutil.h