[Openmcl-devel] Fwd: A few quick ObjectiveC Bridge questions
beer at eecs.cwru.edu
Mon May 15 14:39:12 UTC 2006
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
> 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
>> 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?
>> Gary Warren King
>> (413) 210 7511
>> gwking on #lisp (occasionally)
>> Openmcl-devel mailing list
>> Openmcl-devel at clozure.com
More information about the Openmcl-devel