oleaut32/tests: Improve vtstr() and variantstr().
commitcb029e0b30d7d8732d54a80cf5725bca0b498ea9
authorFrancois Gouget <fgouget@free.fr>
Thu, 31 May 2007 14:39:43 +0000 (31 16:39 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 1 Jun 2007 10:40:26 +0000 (1 12:40 +0200)
tree2a85d176a58a08b0061b67040d7bf12105bb7a5f
parent7ad691a5ee879652c56c15cf637aa4275c045bde
oleaut32/tests: Improve vtstr() and variantstr().

- Use a CASE() macro to simplify the vtstr() code and eliminate hard-coded variant type values.
- Update the list of known variant types.
- If a variant type is unknown, print its numerical value.
- In variantstr(), hand off all the standard cases to vtstr(), instead of (partially) duplicating its code.
dlls/oleaut32/tests/vartest.c