g-wrap-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ssize_t must be a signed type


From: Ludovic Courtès
Subject: Re: ssize_t must be a signed type
Date: Wed, 02 Aug 2006 14:02:13 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Hi,

"gregory benison" <address@hidden> writes:

>    (wrap-ranged-integer-type! wrapset
>                               #:name  'ssize_t
>                               #:c-type-name "ssize_t"
> -                             #:max "SSIZE_MAX"
> +                             #:min "(1 - SSIZE_MAX)" #:max "SSIZE_MAX"
>                               #:ffspec 'ssize_t)

Shouldn't `min' be `(- SSIZE_MAX - 1)' rather?  I think so.

I'll put it in my branch which is located at
http://www.laas.fr/~lcourtes/software/arch-2005/ .

Thanks,
Ludovic.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]