[Openmcl-devel] #_ arg expansion problem
Andrew P. Lentvorski, Jr.
bsder at mail.allcaps.org
Sat Jul 10 13:27:31 PDT 2004
On Jul 10, 2004, at 6:16 AM, Rick Taube wrote:
>> I have a hunch that it's a structure of some sort ...
> yes, your hunch is correct. Now I undestand the void return value and
> why funcs with simiar args are working (because they dont themselves
> return structs). I actually remember reading something about the
> explicit "extra" painter arg business in the openmcl docs but somehow
> didn't connect that with the error I was getting :/ Anyway with th
> offending func fixed and adding your gkt_init func from gtk-clock.lisp
> Im now able to load my gtk ffi and pop up a gtk window. woo woo! Thank
> you for the explanation.
As a side note, if you are trying to use the full wrapping system for
Gtk, the PyGtk source code might save you a lot of time.
Inside the PyGtk source tree, there are files with the extension of
".defs" These files are Scheme descriptions of the C Gtk functions
calls. For example, from gtk.defs:
It might save you a lot of typing. I think these same ".defs" files
are also used for some of the other language bindings, too.
More information about the Openmcl-devel