[Openmcl-devel] A few quick ObjectiveC Bridge questions
gwking at metabang.com
Fri May 12 22:38:06 EDT 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