Harvie Griffith Jr.
2014-08-26 21:09:21 UTC
(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.
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.