GDExtension: Mark virtual function as `is_required` in `extension_api.json`
This is a draft exploring how to implement https://github.com/godotengine/godot-proposals/discussions/9982
TODO to finish:
- ~~Find all the required virtual methods and swap in the
GDVIRTUAL*_REQUIRED()macro~~ - ~~Replace all
GDVIRTUAL_REQUIRED_CALL()withGDVIRTUAL_CALL()~~
@dsnopek I migrated all the remaining instances of GDVIRTUAL_REQUIRED_CALL in e07dbec346bcdb86dd22a0562c23772110e7b34f and removed the macro in 0590f31c893d3c26c58ad0a155b45b0cee76e0a1. You are welcome to add these commits to your PR.
EDIT: they are on this branch: https://github.com/TitanNano/godot/commits/gdextension-required-virtuals/
@TitanNano Thanks! I added your changes.
After I've gone through and double-checked all the changes I'll take this out of draft.
@dsnopek do you think this can make it into 4.4?
This would be great to get into 4.4, especially if we can get PR https://github.com/godotengine/godot/pull/86079 too. I'll try to find some time soon to dig back into both PRs.
I just rebased, updated for new required virtual methods that have been added, and finally went back through everything and double-checked that everything that should be required is marked as required.
So, I'm taking this one of draft status now!
Thanks!