UnicodeTextInternal.h 1.4 KB

12345678910111213141516171819202122232425
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. #pragma once
  6. namespace PlatformAgnostic
  7. {
  8. namespace UnicodeText
  9. {
  10. // Instantiate templates here rather than in each implementing file
  11. template charcount_t ChangeStringLinguisticCase<true, true>(const char16* sourceString, charcount_t sourceLength, char16* destString, charcount_t destLength, ApiError* pErrorOut);
  12. template charcount_t ChangeStringLinguisticCase<true, false>(const char16* sourceString, charcount_t sourceLength, char16* destString, charcount_t destLength, ApiError* pErrorOut);
  13. template charcount_t ChangeStringLinguisticCase<false, true>(const char16* sourceString, charcount_t sourceLength, char16* destString, charcount_t destLength, ApiError* pErrorOut);
  14. template charcount_t ChangeStringLinguisticCase<false, false>(const char16* sourceString, charcount_t sourceLength, char16* destString, charcount_t destLength, ApiError* pErrorOut);
  15. namespace Internal
  16. {
  17. int LogicalStringCompareImpl(const char16* p1, int p1size, const char16* p2, int p2size);
  18. }; // namespace Internal
  19. }; // namespace UnicodeText
  20. }; // namespace PlatformAgnostic