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

Expose non-template versions of vararg methods #1696

Open
kevinresol opened this issue Jan 30, 2025 · 0 comments
Open

Expose non-template versions of vararg methods #1696

kevinresol opened this issue Jan 30, 2025 · 0 comments

Comments

@kevinresol
Copy link

kevinresol commented Jan 30, 2025

Godot version

4.3.stable

godot-cpp version

4.3

System information

MacOS 15.2

Issue description

For custom scripting support and other dynamic uses, it would be nice to expose vararg methods as non-templated.

Currently, the dynamic (non-template) version (<fn>_internal) for classes and utility_functions already exists, although marked private: . As for builtin_classes there are no equivalent, the closes thing would be the private _method_bindings struct but those are raw method pointers doesn't give us nice signature and return value handling.

If this suggestion is accepted, I can raise a PR to remove the private accessor for classes and utility_functions, and refactor builtin_classes bindings to expose the corresponding *_internal methods.

Steps to reproduce

N/A

Minimal reproduction project

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant