-
-
Notifications
You must be signed in to change notification settings - Fork 218
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
Implement builtin type Signal
#570
Conversation
b1727db
to
ef0d2b5
Compare
This comment was marked as duplicate.
This comment was marked as duplicate.
ef0d2b5
to
c8b2e98
Compare
API docs are being generated and will be shortly available at: https://godot-rust.github.io/docs/gdext/pr-570 |
6cd5e3c
to
62565d0
Compare
@Bromeon I'm not quite sure what is going on with the crash in 4.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
Regarding the crash, it seems test_varcall_signal
fails. It may need more debugging, but from a distance, it could be that the conversion between Variant
and Signal
is not correctly implemented for Godot 4.0.
Maybe you could add tests in variant_conversions()
(variant_test.rs
) for signals -- and see if those pass or not? Feel free to use #[itest(focus)]
.
d5b8da6
to
141590d
Compare
141590d
to
f90ba67
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
Implementation of the built-in type
Signal
.The implementation is heavily based on the already present
Callable
type.