On Wed, Feb 16, 2011 at 10:23 PM, Liam Healy lhealy@common-lisp.net wrote:
Mirko,
On Mon, Feb 14, 2011 at 3:35 PM, Mirko Vukovic mirko.vukovic@gmail.com wrote:
I am trying to make my gsd-based code to work on both sbcl (which
supports
foreign-arrays) and clisp which does not. Hence the questions/requests:
- Foreign-array creates the `static-vectors' feature. I want to
double-check that I can use it to test if foreign-arrays is loaded or not (#+static-vectors or #-static-vectors). Or should I use #+sbcl, #+clisp
The static-vectors feature should only be used to determine if static vectors underlie the foreign arrays, and that really only determines whether cl-array could return something non-nil. I'm not sure how you would tell using #+static-vectors if foreign-array is loaded if you're on clisp.
Feature request:
Could than foreign vectors push a :foreign-vectors into *features*, much like fsbv does?
Mirko