MdeModulePkg/PrintLib: 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:
@ -598,7 +598,11 @@ UnicodeSPrintAsciiFormat (
|
||||
return NumberOfPrinted;
|
||||
}
|
||||
|
||||
#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
|
||||
@ -665,6 +669,8 @@ UnicodeValueToString (
|
||||
return StrnLenS (Buffer, BufferSize / sizeof (CHAR16));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
Converts a decimal value to a Null-terminated Unicode string.
|
||||
|
||||
@ -1071,7 +1077,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
|
||||
@ -1137,6 +1147,8 @@ AsciiValueToString (
|
||||
return AsciiStrnLenS (Buffer, BufferSize / sizeof (CHAR8));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
Converts a decimal value to a Null-terminated Ascii string.
|
||||
|
||||
|
Reference in New Issue
Block a user