This is the mail archive of the
guile-gtk@sources.redhat.com
mailing list for the Guile project.
Re: guile-gobject problem [solved], g-wrap
- From: Andreas Rottmann <a dot rottmann at gmx dot at>
- To: guile-gtk at sources dot redhat dot com
- Cc: rbl at defaultvalue dot org
- Date: Tue, 12 Aug 2003 16:49:55 +0200
- Subject: Re: guile-gobject problem [solved], g-wrap
- References: <87llu0vsx8.fsf@alice.rotty.yi.org>
Andreas Rottmann <a.rottmann@gmx.at> writes:
> Hi!
>
> Trying to use guile-gobject to create bindings for a library of mine,
> I always get C compiler errors, since there is a mapping generated
> from c-type none to <none>, which causes the return type type in the
> wrapper to be declared of type 'none'.
>
[snip]
I've found & fixed the bug. I'll commit to CVS (just have been given
access by Marius!), after posting a patch here for review. First,
however, I'd like to discuss (once again ;-)), the forking of
g-wrap. I could check in a g-wrap into the guile-gtk CVS repository
that provides:
* Argument hiding (needed for GError exceptions).
* An argument call-ccg (needed for GError, since it is passed
by double-refernce (pointer to pointer)).
* A changed (generating less code) mechanism to
wrap enums (this only has gains for non-GObject enums, though).
* The patched gw-standard-spec.scm as provided by guile-gobject today.
* An exported gw:wrapset-get-wrapsets-depended-on (the fix
mentioned already uses this, although it could be changed not
to use it easily).
Comments (Rob!)?
Regards, Andy
--
Andreas Rottmann | Rotty@ICQ | 118634484@ICQ | a.rottmann@gmx.at
http://www.8ung.at/rotty | GnuPG Key: http://www.8ung.at/rotty/gpg.asc
Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62
It's GNU/Linux dammit!