Mercurial > projects > dwt-linux
changeset 57:d69eb5077fbb
some comments
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 12 Jan 2008 01:53:16 +0100 |
parents | 002bcca59004 |
children | a5c274fa5af9 |
files | dwt/internal/c/gtk_unix_print_2_0.d tools/structs.c tools/structs.d |
diffstat | 3 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dwt/internal/c/gtk_unix_print_2_0.d Sat Jan 12 01:30:15 2008 +0100 +++ b/dwt/internal/c/gtk_unix_print_2_0.d Sat Jan 12 01:53:16 2008 +0100 @@ -1,4 +1,7 @@ -/* THIS FILE GENERATED BY bcd.gen */ +/****************************************************************************** + Based on the generated files from the BCD tool + modified by: Frank Benoit <keinfarbton@googlemail.com> +******************************************************************************/ module dwt.internal.c.gtk_unix_print_2_0; extern(C):
--- a/tools/structs.c Sat Jan 12 01:30:15 2008 +0100 +++ b/tools/structs.c Sat Jan 12 01:53:16 2008 +0100 @@ -1,3 +1,6 @@ +// Author: Frank Benoit +// This prints the sizes of some C struct how the GCC sees them +// Build with: // 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 #include <gtk/gtk.h>
--- a/tools/structs.d Sat Jan 12 01:30:15 2008 +0100 +++ b/tools/structs.d Sat Jan 12 01:53:16 2008 +0100 @@ -1,4 +1,5 @@ -// 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 +// Author: Frank Benoit +// This prints the sizes of some C struct how they are defined in the c-bindings import dwt.internal.c.gtk; import dwt.internal.c.gdk;