[gambit-list] How to pass a procedure to a nonnull-function?

Vok Vojwo ceving at gmail.com
Thu Nov 3 09:31:23 EDT 2011


2011/11/3 Alex Queiroz <asandroq at gmail.com>:
>
> On Thu, Nov 3, 2011 at 1:58 PM, Vok Vojwo <ceving at gmail.com> wrote:
>>
>> Gtk provides some infrastructure for callbacks called marshaller.
>> Would it be possible to use that to write a gtk-lambda similar to
>> c-define, which can be used to create callbacks for Gtk but without
>> the limitations of c-define?
>
> The GObject library certainly support dynamic, non-C callbacks:
>
> http://developer.gnome.org/gobject/2.30/chapter-signal.html#id500726
>

Yes but this requires some knowledge about the things c-define does to
export a Scheme function to C. Is this documented anywhere? I know a
bit about C and Scheme but I am a Gambit noob. ;-)



More information about the Gambit-list mailing list