[plt-scheme] Help with unexpected result from foreign.ss (cpointer? ) function

From: Ernie Smith (esmith at acanac.net)
Date: Mon Nov 10 07:43:39 EST 2008

The following program
> (require (lib "foreign.ss")) 
> (unsafe!)
> (define my-cptr (_cpointer 'my-cptr))
> (display (cpointer? my-cptr))
> (newline)
gives me this result
> Welcome to DrScheme, version 372 [3m].
> Language: Textual (MzScheme, includes R5RS).
> #f
>> 

I expected #t
Can someone enlighten me please.




Posted on the users mailing list.