gircore / gir.core

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

Map "gssize" to native integers #1069

Closed badcel closed 4 months ago

badcel commented 4 months ago

The GObject type "gssize" (sgined "gsize") was mapped to "long". Which is wrong, as "gssize" is dependent if the system is a 64 bit / 32 bit host. This maps "gssize" to "nint", similarly to "gsize" which is already mapped to "nuint".