Sorry I have this wrong:
(#"toString" (make-array 10 :element-type 'character :adjustable t :fill-pointer 3 :initial-contents "fooxxxxxxx"))
is what returns "fooxxxxxxx"
jcall version returns "foo".
Which I don't understand. But which perhaps I will in the morning.
-Alan
On Sat, May 8, 2010 at 2:32 AM, Alan Ruttenberg alanruttenberg@gmail.comwrote:
Looks like fill pointer isn't taken into account:
(jcall "toString" (make-array 10 :element-type 'character :adjustable t :fill-pointer 3 :initial-contents "fooxxxxxxx")) -> "fooxxxxxxx"
-Alan