Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split PropertyNames #5575

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Split PropertyNames #5575

merged 1 commit into from
Sep 23, 2024

Conversation

robertbastian
Copy link
Member

The script property uses different data structs for short and long names, unlike other properties. Splitting PropertyNames into PropertyNamesLong and PropertyNamesShort allows this to be modeled with the same API as all other properties.

@robertbastian robertbastian changed the title Split `Propertynames Split PropertyNames Sep 23, 2024
@sffc sffc removed their request for review September 23, 2024 16:36
icu::properties::PropertyNames::new_short#FnInStruct
icu::properties::PropertyNamesBorrowed#Struct
icu::properties::PropertyNamesBorrowed::get#FnInStruct
icu::properties::PropertyNamesLong#Struct
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: potentially in a followup since you're doing a bunch of different changes here, but can you add all the annotations to keep this clean?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are actually missing APIs.

@robertbastian robertbastian merged commit dbf36b7 into unicode-org:main Sep 23, 2024
28 checks passed
@robertbastian
Copy link
Member Author

#3573

@robertbastian robertbastian deleted the p2 branch September 25, 2024 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants