Re: deref-array types
Cyrus Harmon <ch-uffi-dl6SmSK5uza1Z/[email protected]> Mon, 7 Feb 2005 13:27:23 -0800
| Newsgroups | gmane.lisp.uffi.devel |
|---|---|
| Message-ID | <[email protected]> |
Or is this a problem with def-array-pointer? It's somewhat reassuring that this wasn't entirely just a case of me misreading the docs :-) On Feb 7, 2005, at 1:25 PM, Kevin Rosenberg wrote: > Cyrus Harmon wrote: >> Indeed, it does. So it looks like '(:array :int) and :int both work >> (on >> OpenMCL) but '(* :int) fails. > > Yes, '(:array :int) is correct. Plain :int will definitely fail on > Allegro. > >> So the test works, but there's still a problem WRT the docs, which is >> that the def-array-pointer syntax doesn't work: > > Grr, that's a problem with documentation isn't it. The docs were > written before openmcl support was added. Seems like openmcl can't > handle that. > >> works. I'm still not clear on the difference between * and :array >> though... > > For deref-array, always use '(:array <type>). The docs will need to > be updated. > > -- > Kevin Rosenberg > kevin-HJRc7zDS/[email protected]