Definition and type of GType depends on compiler
@sdroege
Submitted by Sebastian Dröge Link to original bug (#765291)
Description
+++ This bug was initially created as a clone of Bug #758738 +++
See https://bugzilla.gnome.org/show_bug.cgi?id=758738#c32
Basically we would define GType as gsize, unless gulong and gsize have the same size and C++ is used in which case we would use gulong. This apparently has historical reasons, but are these still valid?
It shouldn't cause any problems though, as GType would always be in an integer type of the same size. It might just affect C++ symbol mangling, which is also only a problem in C++ and does not affect C/C++ interop either.