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

Update GDVIRTUAL*() macros to match Godot 4.4 #1719

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dsnopek
Copy link
Collaborator

@dsnopek dsnopek commented Feb 25, 2025

In Godot PR godotengine/godot#93311, we changed the way that required virtual methods were registered, so that the extension_api.json could denote which virtual methods were required.

This PR aims to bring the same changes to godot-cpp! This is important to allow the same API as used in Godot modules.

Unfortunately, this PR depends on PR godotengine/godot#103302, which corrects a small mistake that I made in the original Godot PR, so this will fail CI for the moment :-/

UPDATE: The Godot PR has been merged, so this should build fine now!

@dsnopek dsnopek added the enhancement This is an enhancement on the current functionality label Feb 25, 2025
@dsnopek dsnopek added this to the 4.x milestone Feb 25, 2025
@dsnopek dsnopek requested a review from a team as a code owner February 25, 2025 23:04
@dsnopek dsnopek force-pushed the gdvirtual-required-macros branch 2 times, most recently from 0abaaa8 to 3ac8965 Compare February 26, 2025 13:53
Copy link
Contributor

@Ivorforce Ivorforce left a comment

Choose a reason for hiding this comment

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

Seems fine to me. Haven't tested the code though.

@dsnopek dsnopek force-pushed the gdvirtual-required-macros branch from 3ac8965 to 4a9409a Compare February 26, 2025 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is an enhancement on the current functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants