gir icon indicating copy to clipboard operation
gir copied to clipboard

Tool to generate rust bindings and user API for glib-based libraries

Results 145 gir issues
Sort by recently updated
recently updated
newest added

Needed for https://github.com/gtk-rs/gtk-rs-core/issues/731 Not tested on that issue yet, but the code seems correct.

While trying to generate bindings against glib 2.73+ in gtk-rs/gtk-rs-core#717 , `gir` tries to generate the following code which doesn't compile. ```rust #[cfg(any(feature = "v2_74", feature = "dox"))] #[cfg_attr(feature =...

bug

Currently gir fails with when trying to generate Pango2 (1.90 currently) bindings ``` Error: Error: "GirXml: pango2/sys/../../Pango2-1.0.gir at line 1775:11: Attribute `scope` on element has invalid value: Unknown parameter scope...

enhancement

Currently introspected enums do not easily convert to variants as they just expose their `u32` representation. For instance this would be useful when storing enums in `gsettings`

easy

The improvements include: - Restructuring the book a little bit to make it easier to find information - Adding description on what gir is and when it can be used...

This PR is a follow up of https://github.com/gtk-rs/gir/pull/1134. Not sure what is the accepted way of contributing to someone else's PR. Changes include: * Rename the new `Basic::Vulkan` enum to...

All Vulkan handles, enumerations, bitfields and structs in [G-IR reflection](https://github.com/gtk-rs/gir-files/blob/master/Vulkan-1.0.gir) have one fundamental flaw: they are empty records. As such `gir` is unable to generate anything representative for them and...

The change requires the Gir files to be generated with gobject-introspection 1.70. With the current changes, the number of generated but unneeded docs for properties getters/setters cc @fengalin

When generating bindings for Aravis, there are things like: ```c #define ARV_PIXEL_FORMAT_CUSTOM_BAYER_BG_12_PACKED 0x810c0004 ``` This codegens into GIR: ```xml ``` And then into Rust: ```rust pub const ARV_PIXEL_FORMAT_CUSTOM_BAYER_BG_12_PACKED: c_int =...

Fixes #1076 Current status: Signals ![image](https://user-images.githubusercontent.com/7660997/169649821-5c406d97-3a5e-44b1-8417-5c17fb9a7e96.png) Properties ![image](https://user-images.githubusercontent.com/7660997/169649841-20b3ceec-79f0-4514-928a-9b521a4c21c0.png)