Re: uffi (* :char) => corman (:char *) how to?

Kevin Rosenberg <kevin-HJRc7zDS/[email protected]> Thu, 27 Feb 2003 16:30:40 -0700
Newsgroups gmane.lisp.uffi.general
Message-ID <[email protected]>
--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Kenny Tilton wrote:
> I need to take:
>   (uffi:def-foreign-type LPSTR (* :char))
> ..and produce a corman:
>   (c-types:defctype LPSTR (:char *))

> Simple. But looking at:
> [...]
> ...but that feels icky.

Hi Kenny, I'll look at this some more on Saturday and Monday. In
general, convert-from-uffi-type has been "icky" code as it grew with
more tasks thrust upon it. In a rework of UFFI (UFFI v2.0), this is
one area that needs to be refactored. Currently, if something works,
but is somewhat icky, I think that is okay.

In a new version of UFFI, this code will be overhauled. Also, many of
the low-level UFFI functions won't be needed as a high-level
of abstraction macros are implemented. Alas, I don't suspect I'll have
time to work on UFFI v2.0 in the near future.

--=20
       Kevin Rosenberg        |  .''`.  ** Debian GNU/Linux **
  http://b9.com/debian.html   | : :' :      The  universal
  GPG signed and encrypted    | `. `'      Operating System
     messages accepted.       |   `-    http://www.debian.org/

--k1lZvvs/B4yU6o8G
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+Xp+fES7N8sSjgj4RAoXtAKCE4fsWsPsdhHVIsoEo3fv4C1laYgCfWaLE
nfMpi3oJvrDgRo7V/NnY5pc=
=E2gK
-----END PGP SIGNATURE-----

--k1lZvvs/B4yU6o8G--