guile-devel
[Top][All Lists]
Advanced

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

Re: size_t & unsigned long


From: Dirk Herrmann
Subject: Re: size_t & unsigned long
Date: Sun, 13 May 2001 10:40:55 +0200 (MEST)

On 11 May 2001, Michael Livshin wrote:

> since Guile requires ANSI C for quite some time now, `scm_sizet'
> should just be deprecated.  as far as Guile cares, `size_t' is
> available everywhere.
> 
> so how about this: I'll comb the source and change it to use `size_t'
> and `ptrdiff_t' in all the appropriate places.  I'll also add
> `scm_sizet2num', `scm_ptrdifft2num', `scm_num2sizet' &
> `scm_num2ptrdiff'.

IMO, it's a good idea.  It would make sense to also check whether
(scm_)size_t has been used appropriately in each case.

> do we still want to have `scm_size_t' and `scm_ptrdiff_t' typedefs,
> just in case?

I think we have to keep the original definitions as deprecated for some
time.

Best regards,
Dirk Herrmann




reply via email to

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