Cannot determine the difference between a (u)int and a (u)short at runtime
Since both (u)int
and (u)short
have G_TYPE_(U)INT
as their type, there's no way at run time to determine if a type is one or the other. This is useful for example in a generic function, where different code paths need to be taken depending on the type.
I guess we'd need GLib to define G_TYPE_(U)SHORT
to support this?