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

Mikael mikael.rcv at gmail.com
Thu Nov 3 09:32:43 EDT 2011


Make a wrapper. Use the argument value you for sure can specify to the
external API (a void* or alike) to pass back to you on callback, as id to
your internal routine.

2011/11/3 Vok Vojwo <ceving at gmail.com>


> But it is of limited use if it comes to Gtk callbacks. If one
> dynamically creates Gtk widgets it is necessary to be able to assign
> them callbacks. If the definition of the callback must be done on the
> Scheme top level and always requires a C name the whole code becomes
> quite static.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20111103/c1ab44dd/attachment.htm>


More information about the Gambit-list mailing list