Skip to content

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
Member

@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
@dsnopek dsnopek merged commit 26358b5 into godotengine:master Mar 1, 2025
11 checks passed
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