[Openmcl-devel] :address ffi type spec

Marco Baringer mb at bese.it
Wed Aug 25 12:37:09 UTC 2004


Gary Byers <gb at clozure.com> writes:

> On Wed, 25 Aug 2004, Marco Baringer wrote:
>>
>> in using uffi i see that it (uffi) converts pointer to object type
>> specs into (:address :whatever). i've empiricly discovered (and the
>> docs seem to confirm this) that it should be (:* :whatever). is the
>> presence of :address in uffi just bit rot or am i missing something
>> important?
>
> :ADDRESS is supposed to be shorthand for (:* :void); it doesn't make
> sense to give :ADDRESS an argument, and I'd hope that something, somewhere
> would complain about that.

the docs suggest using (:* t), are these the same thing or are there
times when i'd want one instead of the other? empricial evidence
shows that (:* t) works fine for void *.

-- 
-Marco
Ring the bells that still can ring.
Forget your perfect offering.
There is a crack in everything.
That's how the light gets in.
     -Leonard Cohen



More information about the Openmcl-devel mailing list