[plt-scheme] foreign.ss changes? Or, just missing something...

From: Matthew Jadud (mcj4 at kent.ac.uk)
Date: Tue Nov 23 10:56:03 EST 2004

My toy sample:

(require (lib "foreign.ss"))

(define foo
    "plus" "native"
    (_fun _int _int -> _int)))

(foo 3 5)

which worked in 299.20-cvs29oct2004, does not in  299.22-cvs23nov2004. 
When I 'Run' the code:

Welcome to DrScheme, version 299.22-cvs23nov2004.
Language: Textual (MzScheme, includes R5RS).
. reference to undefined identifier: get-ffi-obj

In the module 'foreign.ss', I'm confused about the

(provide* (unsafe get-ffi-obj))

which is just one level of syntax too deep for me to unravel. I've seen 
(Eli's?) comment about 'unsafe!' bindings, but I don't quite see what is 
(or is not) being exported.


Posted on the users mailing list.