comparison tools/structs.c @ 57:d69eb5077fbb

some comments
author Frank Benoit <benoit@tionex.de>
date Sat, 12 Jan 2008 01:53:16 +0100
parents 002bcca59004
children
comparison
equal deleted inserted replaced
56:002bcca59004 57:d69eb5077fbb
1 // Author: Frank Benoit
2 // This prints the sizes of some C struct how the GCC sees them
3 // Build with:
1 // gcc structs.c `pkg-config --cflags xtst cairo-xlib-xrender gtk+-2.0 gtk+-x11-2.0 pangox gdk-2.0 fontconfig gthread-2.0 cairo-xlib cairo pango gtk+-unix-print-2.0` 2>&1 | head -n 20 4 // gcc structs.c `pkg-config --cflags xtst cairo-xlib-xrender gtk+-2.0 gtk+-x11-2.0 pangox gdk-2.0 fontconfig gthread-2.0 cairo-xlib cairo pango gtk+-unix-print-2.0` 2>&1 | head -n 20
2 5
3 #include <gtk/gtk.h> 6 #include <gtk/gtk.h>
4 #include <gdk/gdk.h> 7 #include <gdk/gdk.h>
5 #include <glib.h> 8 #include <glib.h>