Skip to content

[OSX] HybridGlobalization implement collation native functions #86699

Closed

Description

Implement collation functions for OSX platforms.

  • GlobalizationNative_GetSortHandle

      - return reference to NSLocale
    
  • GlobalizationNative_CloseSortHandle

      - release reference to NSLocale
    
  • GlobalizationNative_CompareString

      - [NSString compare:options:range:locale:](https://developer.apple.com/documentation/foundation/nsstring/1414561-compare?language=objc)
    
  • GlobalizationNative_IndexOf

      - [NSString rangeOfString:options:range:locale:](https://developer.apple.com/documentation/foundation/nsstring/1417348-rangeofstring?language=objc)
    
  • GlobalizationNative_LastIndexOf

      - same as GlobalizationNative_IndexOf w/ NSBackwardsSearch
    
  • GlobalizationNative_StartsWith

      - can be implemented trough GlobalizationNative_CompareString?
    
  • GlobalizationNative_EndsWith

      - can be implemented trough GlobalizationNative_CompareString?
    
  • GlobalizationNative_GetSortKey

      - wcsxfrm_l?
    
  • GlobalizationNative_GetSortVersion

      - ??
    

Contributes to #80689

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions