+Thu Apr 12 09:19:58 2001 George Lebl <jirka@5z.com>
+
+ * Release 1.0.8
+
+Sat Mar 31 00:24:58 2001 George Lebl <jirka@5z.com>
+
+ * src/main.c: fix crash with marshallers of signals with a return
+ type and no arguments.
+
+Tue Feb 27 00:53:41 2001 Jonathan Blandford <jrb@redhat.com>
+
+ * README: Use my new-found maintainer status!!! The power!
+
Sun Feb 25 17:17:46 2001 George Lebl <jirka@5z.com>
* Release 1.0.7
+1.0.8
+ * fix signals with a return value and no argument
+
1.0.7
* allow overriding of get_type (allows BonoboXObject)
GTK+ Object Builder (GOB)
+(George's Obfuscated Bits)
Very simple preprocessor for making GTK+ objects with inline C code so that
generated files are not editted. Syntax is inspired by java and yacc or lex.
PACKAGE=gob
-VERSION=1.0.7
+VERSION=1.0.8
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
AC_PREREQ(2.2)
AC_INIT(src/treefuncs.h)
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(gob,1.0.7)
+AM_INIT_AUTOMAKE(gob,1.0.8)
dnl
dnl An utter hack to allow embedding of gob inside other packages.
-%define ver 1.0.7
+%define ver 1.0.8
%define rel 1
%define prefix /usr
"\t(*rfunc)((%s *)object", s, s, typebase);
} else {
const char *retcast = get_cast(m->gtktypes->data, FALSE);
+ gboolean is_none = (strcmp(m->gtktypes->next->data, "NONE")==0);
out_printf(out,
"\t___%s rfunc;\n\t"
"%s *retval;\n\n"
"\trfunc = (___%s)func;\n\n"
"\tretval = GTK_RETLOC_%s(args[%d]);\n\n"
"\t*retval = (*rfunc)((%s *)object",
- s, retcast, s, (char *)m->gtktypes->data,
- g_list_length(m->gtktypes)-1, typebase);
+ s, retcast, s,
+ (char *)m->gtktypes->data,
+ g_list_length(m->gtktypes) - (is_none ? 2 : 1),
+ typebase);
}
print_signal_marsal_args(m);