FFI fix, new construct

Brian Rice water at tunes.org
Fri Feb 10 11:45:54 PST 2006


Oh, yes, I forgot to mention something:

On Feb 10, 2006, at 11:37 AM, Brian Rice wrote:

> Thanks to some investigation via a contributor, I've figured out  
> the right fix for unsuccessful attempts to load an ExternalLibrary.  
> Also in that line of work, I noticed that unlessCompletes: and  
> ifCompletes: would be best implemented with a single construct, so  
> there is now:
>
> m@(Method traits) ifCompletes: successBlock otherwise: errorBlock
> ...

As a result of this, the ExternalLibrary code will now report when  
the library is successfully loaded in, which helps satisfy people who  
see the error messages that the VM prints out when it can't find the  
object file in the default path and then goes looking in lib/. Now  
it'll be obvious that it looked and then found (or by absence if it  
didn't find) the desired object file.

--
-Brian
http://tunes.org/~water/brice.vcf

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : /archives/slate/attachments/20060210/8d258f9b/PGP.pgp


More information about the Slate mailing list