[Openmcl-devel] A few quick ObjectiveC Bridge questions
gwking at metabang.com
Sat May 13 02:38:06 UTC 2006
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)
More information about the Openmcl-devel