Web lists-archives.com

glib-2.47.6/glib/gtypes.h:#define G_MININT8 ((gint8) -0x80)




Recently I started preparing the gtk 3.20 bindings for Nim...

Seems that some hexadecimal constants have now minus signs -- I am a
bit confused?

#define G_MININT8	((gint8) -0x80)

stefan@AMD64X2 ~/Downloads/glib-2.47.6/glib $ grep G_MININT8 ~/Downloads/glib-2.43.90/glib/*.h
/home/stefan/Downloads/glib-2.43.90/glib/gtypes.h:#define G_MININT8	((gint8)  0x80)
stefan@AMD64X2 ~/Downloads/glib-2.47.6/glib $ grep G_MININT8 ~/Downloads/glib-2.47.6/glib/*.h
/home/stefan/Downloads/glib-2.47.6/glib/gtypes.h:#define G_MININT8	((gint8) -0x80)

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list