[Openmcl-devel] Bug with Cocoa Integration

Harvie Griffith Jr. staypufd at mac.com
Tue Aug 26 14:09:21 PDT 2014


(make-instance 'ns:ns-number :init-with-int 42)
does not work correctly (in terms of giving back wha the docs say it should)

Instead you get this:

? (make-instance 'ns:ns-number :init-with-int 42)
#<A Null Foreign Pointer>


If I do this it does work:

? (make-instance 'ns:ns-number :with-int 42)
#<NS-NUMBER 42 (#x2A27)>


This is the doc I was following.

http://ccl.clozure.com/manual/chapter14.3.html <http://ccl.clozure.com/manual/chapter14.3.html>


Thanks,

Sam Griffith Jr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20140826/d78c37a9/attachment.htm>


More information about the Openmcl-devel mailing list