mirror of https://github.com/acidanthera/audk.git
MdePkg/UefiLib: Add 'OUT' decorator where necessary.
The functions AddUnicodeString() and AddUnicodeString2() might return a new value into their parameter UnicodeStringTable, hence add the appropiate 'OUT' decorator. V2: Update FrameworkUefiLib as well. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
ced8f52fc6
commit
5b9626e8eb
|
@ -589,7 +589,7 @@ EFIAPI
|
|||
AddUnicodeString (
|
||||
IN CONST CHAR8 *Language,
|
||||
IN CONST CHAR8 *SupportedLanguages,
|
||||
IN EFI_UNICODE_STRING_TABLE **UnicodeStringTable,
|
||||
IN OUT EFI_UNICODE_STRING_TABLE **UnicodeStringTable,
|
||||
IN CONST CHAR16 *UnicodeString
|
||||
);
|
||||
|
||||
|
@ -640,7 +640,7 @@ EFIAPI
|
|||
AddUnicodeString2 (
|
||||
IN CONST CHAR8 *Language,
|
||||
IN CONST CHAR8 *SupportedLanguages,
|
||||
IN EFI_UNICODE_STRING_TABLE **UnicodeStringTable,
|
||||
IN OUT EFI_UNICODE_STRING_TABLE **UnicodeStringTable,
|
||||
IN CONST CHAR16 *UnicodeString,
|
||||
IN BOOLEAN Iso639Language
|
||||
);
|
||||
|
|
|
@ -890,7 +890,7 @@ EFIAPI
|
|||
AddUnicodeString (
|
||||
IN CONST CHAR8 *Language,
|
||||
IN CONST CHAR8 *SupportedLanguages,
|
||||
IN EFI_UNICODE_STRING_TABLE **UnicodeStringTable,
|
||||
IN OUT EFI_UNICODE_STRING_TABLE **UnicodeStringTable,
|
||||
IN CONST CHAR16 *UnicodeString
|
||||
)
|
||||
{
|
||||
|
@ -1067,7 +1067,7 @@ EFIAPI
|
|||
AddUnicodeString2 (
|
||||
IN CONST CHAR8 *Language,
|
||||
IN CONST CHAR8 *SupportedLanguages,
|
||||
IN EFI_UNICODE_STRING_TABLE **UnicodeStringTable,
|
||||
IN OUT EFI_UNICODE_STRING_TABLE **UnicodeStringTable,
|
||||
IN CONST CHAR16 *UnicodeString,
|
||||
IN BOOLEAN Iso639Language
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue