Re: Coercing pointers
Kevin Rosenberg <kevin-HJRc7zDS/[email protected]> Tue, 12 Aug 2003 08:22:53 -0600
| Newsgroups | gmane.lisp.uffi.general |
|---|---|
| Message-ID | <[email protected]> |
--i7F3eY7HS/tUJxUd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Edi Weitz wrote: > (write-char (ensure-char-character (deref-array memory = '(:array :char) i)) stream))))) You can try editing deref-array in aggregates.lisp to use the type field for cmucl and lispworks. Currently, that field is only used for Allegro which requires the type information since pointers are represented by integers with Allegro. It appears that Lispworks, at least, can use fli:dereference to coerce =66rom one pointer type to another. Kevin --i7F3eY7HS/tUJxUd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/OPg9ES7N8sSjgj4RAo5PAKCFh9+i6OMn43d1QskVXEhZB6ViwACeIS4r o/2gFdiA/b4EvE4JpmHrUC0= =Ho/h -----END PGP SIGNATURE----- --i7F3eY7HS/tUJxUd--