Skip to content

Conversation

nicholasbishop
Copy link
Member

This allows UCS-2 strings to be easily created at compile time. This is not a proc macro, so there are no additional dependencies needed.

This function is extracted from `encode_with`, with some modifications
to allow it to be a `const fn`. This will be used to implement a macro
for creating const UCS-2 strings.
@nicholasbishop nicholasbishop requested a review from phip1611 March 30, 2024 16:41
Copy link
Member

@phip1611 phip1611 left a comment

Choose a reason for hiding this comment

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

LGTM, nice!

@phip1611 phip1611 merged commit ae83044 into main Apr 2, 2024
@phip1611 phip1611 deleted the bishop-macro branch April 2, 2024 11:57
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