IntlExtensionObjectBuiltIns.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. // INTL_ENTRY is a macro that should be defined before this file is included
  6. // It is intended to be passed a Js::PropertyId as the first argument and the corresponding unique substring of a method name as the second argument
  7. #ifndef INTL_ENTRY
  8. #error INTL_ENTRY must be defiend before including __FILE__
  9. #endif
  10. #ifdef CompareString
  11. #undef CompareString
  12. #endif
  13. INTL_ENTRY(raiseAssert, RaiseAssert)
  14. INTL_ENTRY(isWellFormedLanguageTag, IsWellFormedLanguageTag)
  15. INTL_ENTRY(normalizeLanguageTag, NormalizeLanguageTag)
  16. INTL_ENTRY(isDTFLocaleAvailable, IsDTFLocaleAvailable)
  17. INTL_ENTRY(isCollatorLocaleAvailable, IsCollatorLocaleAvailable)
  18. INTL_ENTRY(isNFLocaleAvailable, IsNFLocaleAvailable)
  19. INTL_ENTRY(isPRLocaleAvailable, IsPRLocaleAvailable)
  20. INTL_ENTRY(resolveLocaleLookup, ResolveLocaleLookup)
  21. INTL_ENTRY(resolveLocaleBestFit, ResolveLocaleBestFit)
  22. INTL_ENTRY(getDefaultLocale, GetDefaultLocale)
  23. INTL_ENTRY(getExtensions, GetExtensions)
  24. INTL_ENTRY(compareString, CompareString)
  25. INTL_ENTRY(formatNumber, FormatNumber)
  26. INTL_ENTRY(cacheNumberFormat, CacheNumberFormat)
  27. INTL_ENTRY(createDateTimeFormat, CreateDateTimeFormat)
  28. INTL_ENTRY(currencyDigits, CurrencyDigits)
  29. INTL_ENTRY(formatDateTime, FormatDateTime)
  30. INTL_ENTRY(validateAndCanonicalizeTimeZone, ValidateAndCanonicalizeTimeZone)
  31. INTL_ENTRY(getDefaultTimeZone, GetDefaultTimeZone)
  32. INTL_ENTRY(getPatternForSkeleton, GetPatternForSkeleton)
  33. INTL_ENTRY(getLocaleData, GetLocaleData)
  34. INTL_ENTRY(localeCompare, LocaleCompare)
  35. INTL_ENTRY(pluralRulesSelect, PluralRulesSelect)
  36. INTL_ENTRY(pluralRulesKeywords, PluralRulesKeywords)
  37. INTL_ENTRY(registerBuiltInFunction, RegisterBuiltInFunction)
  38. INTL_ENTRY(getHiddenObject, GetHiddenObject)
  39. INTL_ENTRY(setHiddenObject, SetHiddenObject)