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

Remove GDExtension compatibility code for Godot 4.0 #77963

Merged

Conversation

dsnopek
Copy link
Contributor

@dsnopek dsnopek commented Jun 7, 2023

Now that PR #77410 has been merged, there is no way to allow GDExtensions built for Godot 4.0 to work with Godot 4.1.

So, this PR remove all the compatibility code that allowed that to work, so that Godot 4.1+ will simply refuse to load a GDExtension made for Godot 4.0 with a nice message (as opposed to crashing :-)).

@dsnopek dsnopek added this to the 4.1 milestone Jun 7, 2023
@dsnopek dsnopek requested review from a team as code owners June 7, 2023 14:26
Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

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

Makes sense to me. I believe this was also the consensus when discussed at the Godot Sprint.

@dsnopek dsnopek force-pushed the remove-gdextension-legacy-struct branch from 31a8366 to ef9cb79 Compare June 7, 2023 18:16
Copy link
Member

@mhilbrunner mhilbrunner left a comment

Choose a reason for hiding this comment

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

Very much agree with the change. The code looks good to me, but TIWAGOS as most of this is gibberish to me :P

@akien-mga akien-mga merged commit e67de69 into godotengine:master Jun 8, 2023
@akien-mga
Copy link
Member

Thanks!

@dsnopek dsnopek deleted the remove-gdextension-legacy-struct branch July 22, 2024 15:27
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.

4 participants