gircore / gir.core

A C# binding generator for GObject based libraries providing a C# friendly API surface
https://gircore.github.io/
MIT License
279 stars 29 forks source link

Avoid g_boxed_copy / free #1076

Open badcel opened 3 weeks ago

badcel commented 3 weeks ago

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.