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

Have ecs_meta_get_string() work with opaques with .as_type = string #1316

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

jpeletier
Copy link
Contributor

@jpeletier jpeletier commented Aug 20, 2024

This PR allows cursors to get strings (ecs_meta_get_string()) from opaque types that behave like strings (.as_type=ecs_string_t).

This makes it symmetrical, since the opposite operation with ecs_meta_set_string which allows to set an opaque's underlying string, was already implemented.

@SanderMertens
Copy link
Owner

Thanks for the PR!

@SanderMertens SanderMertens merged commit 7934672 into SanderMertens:master Aug 21, 2024
70 checks passed
@jpeletier jpeletier deleted the get-string branch August 22, 2024 11:34
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