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

Implement Ref copy constructor #21

Merged

Conversation

BastiaanOlij
Copy link
Collaborator

This builds on @ellenhp suggested solution but with more of the code from Godot in place.

We have a problem with casting as described in godotengine#610, this solution works around that for our reference copy constructor and = operator and I've added remarks on Variant that this is still a problem there.

@BastiaanOlij
Copy link
Collaborator Author

I'll rebase and update this PR once #27 is merged as that fixes the casting logic.

@BastiaanOlij BastiaanOlij marked this pull request as ready for review September 26, 2021 04:42
@BastiaanOlij BastiaanOlij merged commit 8fefe1a into vnen:gdnative-extensions Sep 27, 2021
@BastiaanOlij BastiaanOlij deleted the ref_copy_constructor branch September 27, 2021 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants