Best practices for designing bindable APIs in #GObject / #C #libraries using the gobject-introspection tool. The article covers topics such as boxed types, function macros, C structures, variadic arguments, inout arguments, arrays, and callbacks, among others. The author provides practical recommendations for maintaining and updating existing APIs and designing new ones, with an emphasis on creating future-proof and interoperable APIs. #GTK #API #GIR https://www.bassi.io/articles/2023/02/20/bindable-api-2023/
#gir #API #GTK #libraries #C #gobject
Anyone have experience with #gobject #introspection in #perl?
I've looked through a lot of docs on this, but I'm having trouble.
Basically, playerctl provides an interface to other langs via gobject introspection. And I can add it via use, but I can't get any of the actual functions to work.