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

map: Add voidptr key methods #7377

Merged
merged 8 commits into from
Dec 18, 2020
Merged

map: Add voidptr key methods #7377

merged 8 commits into from
Dec 18, 2020

Conversation

ntrel
Copy link
Contributor

@ntrel ntrel commented Dec 17, 2020

Part of #6991.

Add methods taking a voidptr for the map key type for all existing methods with a key parameter.

Also encapsulate string key.free with function taking voidptr. (Follows on from #7327). This was the last structural change needed to make the above methods not use the string type directly.

@ntrel ntrel marked this pull request as ready for review December 17, 2020 16:50
@medvednikov medvednikov merged commit 3976228 into vlang:master Dec 18, 2020
Copy link

@Ching22700 Ching22700 left a comment

Choose a reason for hiding this comment

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

vlib/builtin/map.v

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.

3 participants