vsprintf.c: add UTF-16 string (%ls) support
authorRob Clark <robdclark@gmail.com>
Sat, 9 Sep 2017 10:47:41 +0000 (06:47 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 12 Sep 2017 21:57:59 +0000 (17:57 -0400)
commit274325c50951dd16ad2a6f45e79dc062ad47011b
treed015f4c6ec87b84b12153bbb17b817203b778c31
parent78178bb0c9dfe2a91a636a411291d8bab50e8a7d
vsprintf.c: add UTF-16 string (%ls) support

This is convenient for efi_loader which deals a lot with UTF-16.  Only
enabled with CC_SHORT_WCHAR, leaving room to add a UTF-32 version when
CC_SHORT_WCHAR is not enabled.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
examples/api/Makefile
lib/vsprintf.c