mirror of
https://github.com/mappu/miqt.git
synced 2025-04-29 08:30:22 +00:00

`short` is perfectly fine as-is in C. `qlonglong` is a bit trickier - Qt declares it to be `qint64` and `qint64` to be `long long` - ergo, using `long long` in the C code is fine but mapping `qint64` to `int64_t` actually might lead to trouble if `int64_t` itself is not declared as `long long` (could be a mere `long int` on some platforms) which in turn can lead to type-based pointer aliasing violations :/ Ditto `qint32` vs `int32_t` which could be `int` or `long`.