gir.core
gir.core copied to clipboard
Verify: Long values in properties
Using long values in properties is probably broken as GObject.Value uses long instead of CLong.
Some findings from looking into this a bit:
- A
gint64property in C should translate intolongin C#. Like #1259 this doesn't work because GObject.Value is usingSetLong()and similar methods rather thanSetInt64() - If you do have a
glongproperty on the C side, this also translates intolongon the C# side which is a problem. If the C# side uses GObject.Value.SetInt64(), this fails on the C side when usinggobject_value_get_long()sincegint64andglongare unique types - I expect a
gulongproperty would have the same issue.