Yes. The external representation is effectively an int. Btw any closure can be passed <-> the external world under the type representation scmobj which is effectively an int also, look it up in the manual. I'm not clear right now if scmobj:s are persistent to GC iterations though, if you/anyone knows please let the ml know. 2011/11/3 Vok Vojwo <ceving@gmail.com>
2011/11/3 Mikael <mikael.rcv@gmail.com>:
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.
I am not sure if I understood this correctly. Do you talk about a dispatching callback function which takes an continuation argument to execute the actual callback code? _______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list