Re: byte type
Kevin Rosenberg <kevin-HJRc7zDS/[email protected]> Wed, 26 Jun 2002 23:44:22 -0600
| Newsgroups | gmane.lisp.uffi.devel |
|---|---|
| Message-ID | <[email protected]> |
Right again. I've fixed the missing ".". I've updapted :byte to be signed and aded :unsigned-byte type. I've updated the documentation. Thanks for the report! -- Kevin Rosenberg kevin-HJRc7zDS/[email protected] On Thu, Jun 27, 2002 at 01:17:44AM -0400, John DeSoi wrote: > Another question. I was looking at the +type-conversion-list+ for byte. > > CMU: (:byte . (alien:unsigned 8)) > Allegro: (:byte . :byte) > Lispworks: (:byte :byte) -- looks like this is missing the "." > > > My concern is that you'll end up with different results because :byte > in LispWorks is signed (signed char) whereas the CMU specification > appears to be unsigned. I don't know about Allegro. In MCL, the :byte > type is unsigned. Maybe both :byte and :unsigned-byte should be > included? Or LispWorks needs to map to '(:unsigned :byte) if :byte is > meant to be implicitly unsigned. > > Best, > > John DeSoi, Ph.D. > _______________________________________________ > UFFI-Devel mailing list > [email protected] > http://www.b9.com/mailman/listinfo/uffi-devel