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

Implement a memory safe way to connect signals. #152

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

hugopl
Copy link
Owner

@hugopl hugopl commented Jun 14, 2024

Fixes #150

I'll try to port Tijolo to this API, if everything works then I can merge this.

After merge this, there will only one more release before tag the .connect methods deprecated.

I need to write more tests... e.g. signals that return values doesn't work because the connect macro doesn't have return value information.

I also need to add more user friendly compiler error messages... anyway, it looks good for a POC.

@hugopl
Copy link
Owner Author

hugopl commented Jun 23, 2024

This POC doesn't handle parameters others than primitive types... nothing really hard to implement, but require a bit of time to do so... anyway, it's on my queue.

@hugopl hugopl changed the title Implement a memory safe way to connect signals. Draft: Implement a memory safe way to connect signals. Jun 23, 2024
@hugopl hugopl marked this pull request as draft June 23, 2024 03:16
@hugopl hugopl changed the title Draft: Implement a memory safe way to connect signals. Implement a memory safe way to connect signals. Jun 23, 2024
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

Successfully merging this pull request may close these issues.

Signal connections may cause leak of objects
1 participant