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

Avoid g_boxed_copy / free #1076

Open
badcel opened this issue Jun 11, 2024 · 0 comments
Open

Avoid g_boxed_copy / free #1076

badcel opened this issue Jun 11, 2024 · 0 comments
Milestone

Comments

@badcel
Copy link
Member

badcel commented Jun 11, 2024

Those functions should only be used as a fallback mechanic as invoking them results in a GType table lookup. As an alternative there are copy-func and free-func.

as they are not generated in c code automatically they need to be added to the c libraries manually.

they are very important for fundamental types.

@badcel badcel added this to the 0.19 milestone Jun 11, 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

No branches or pull requests

1 participant