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

Add VariantInternal class #41715

Merged
merged 1 commit into from
Sep 2, 2020
Merged

Conversation

vnen
Copy link
Member

@vnen vnen commented Sep 2, 2020

This is used to get a direct pointer for the data inside a Variant. Added as another class instead of in Variant directly because this should only be used in special cases, so use must be explicit.

It will be used by the GDScript VM to get data inside the Variants when the type is known at compile time.

@vnen vnen added this to the 4.0 milestone Sep 2, 2020
This is used to get a direct pointer for the data inside a Variant.
Added as another class instead of in Variant directly because this
should only be used in special cases, so use must be explicit.
@akien-mga akien-mga merged commit db5f97d into godotengine:master Sep 2, 2020
@akien-mga
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

3 participants