gobject-example-rs icon indicating copy to clipboard operation
gobject-example-rs copied to clipboard

Example for exporting a GObject/C API from Rust

Results 6 gobject-example-rs issues
Sort by recently updated
recently updated
newest added

Use https://github.com/lu-zero/cargo-c to build a C library. It handles C libraries and .pc file generation, as well as some installation details. However, header generation is done manually in build.rs now...

What I would suggest is the following * `Foo` becomes `Animal` * Implements `Nameable` * `increment()` vfunc becomes `pet()` and returns a `Sound` (former `RString`). E.g. cats would "purr" *...

Flags & Enums should be easy to cover today. Error will need some new glib-rs macro

There seems to be some new way to declare interfaces, Nameable must be fixed. +edition 2024 & other fixes would be nice