[Openmcl-devel] Fwd: A few quick ObjectiveC Bridge questions
Randall Beer
beer at eecs.cwru.edu
Mon May 15 07:39:12 PDT 2006
Gary,
I think that the answers to questions (1) and (3) are still YES, but
I'm afraid that I've been out of this for too long to answer
authoritatively. Perhaps Gary B. could confirm this?
The original reason for (2) was that way back when the bridge was an
"experimental" feature under active development. Now that people are
using it and it's not changing, it probably makes sense to export the
such symbols.
Randy
>
> On May 12, 2006, at 10:38 PM, Gary King wrote:
>
>> Thanks for the bridge. It is really quite wonderful.
>>
>> 1. Is %null-ptr-p the "right" way to test for an object being null?
>> For example, is this enumerator code canonical?
>>
>>> (let ((enumerator (ccl::send people 'object-enumerator)))
>>> (loop for person = (ccl::send enumerator 'next-object)
>>> until (%null-ptr-p person) collect
>>> person))
>>
>> 2. Why aren't things like #'send, #'lisp-string-from-nsstring, and so
>> on exported? It seems to me that they should be.
>>
>> 3. Is #'%make-nsstring the "right" way to make nsstrings?
>>
>> thanks,
>> --
>> Gary Warren King
>> metabang.com
>> http://www.metabang.com/
>> (413) 210 7511
>> gwking on #lisp (occasionally)
>>
>>
>> _______________________________________________
>> Openmcl-devel mailing list
>> Openmcl-devel at clozure.com
>> http://clozure.com/mailman/listinfo/openmcl-devel
>
More information about the Openmcl-devel
mailing list