MdePkg/BasePrintLib: Add deprecated flag for APIs [A|U]ValueToString

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
Hao Wu
2017-02-13 11:25:20 +08:00
parent 695e4c49be
commit 342fdb6eaa
2 changed files with 24 additions and 0 deletions

View File

@@ -491,7 +491,11 @@ UnicodeSPrintAsciiFormat (
...
);
#ifndef DISABLE_NEW_DEPRECATED_INTERFACES
/**
[ATTENTION] This function is deprecated for security reason.
Converts a decimal value to a Null-terminated Unicode string.
Converts the decimal number specified by Value to a Null-terminated Unicode
@@ -541,6 +545,8 @@ UnicodeValueToString (
IN UINTN Width
);
#endif
/**
Converts a decimal value to a Null-terminated Unicode string.
@@ -882,7 +888,11 @@ AsciiSPrintUnicodeFormat (
...
);
#ifndef DISABLE_NEW_DEPRECATED_INTERFACES
/**
[ATTENTION] This function is deprecated for security reason.
Converts a decimal value to a Null-terminated ASCII string.
Converts the decimal number specified by Value to a Null-terminated ASCII string
@@ -931,6 +941,8 @@ AsciiValueToString (
IN UINTN Width
);
#endif
/**
Converts a decimal value to a Null-terminated Ascii string.