[gambit-list] Gambit-C 4.5.3 breaks blackhole import of compiled modules

Marc Feeley feeley at iro.umontreal.ca
Mon Nov 16 13:18:57 EST 2009


On 2009-11-16, at 12:56 PM, Per Eckerdal wrote:

>
> It should be fixed now. I added a test
>
> (if (vector? procedure-or-vector)
>    (vector-ref procedure-or-vector 1)
>    procedure-or-vector)
>
> to make it work on both newer and older versions. Is this reasonable  
> to do?

Yes.

> Or am I supposed to use the ##execute-modules procedure? I don't  
> know exactly what it does, but I saw on the commit that it was  
> changed as well, so I assume that it's related somehow..

Well, ##execute-modules is a higher-level interface, but I don't know  
what you are trying to do.  If you receive an "exec-vector" for a  
module that was loaded with ##load-object-file, then call

   (##execute-modules exec-vector 0)

Marc




More information about the Gambit-list mailing list