guile-devel
[Top][All Lists]
Advanced

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

Re: feature request


From: Jacques A. Vidrine
Subject: Re: feature request
Date: Mon, 28 May 2001 17:06:41 -0500
User-agent: Mutt/1.2.5i

On Mon, May 28, 2001 at 07:09:40PM +0200, Lars J. Aas wrote:
> On Mon, May 28, 2001 at 12:17:07AM +0200, Dirk Herrmann wrote:
> : Hello everybody,
> : 
> : in CVS guile, SCM is now defined as:
> :    typedef struct scm_unused_struct * SCM;
> : Hmmm.  I just realize that it should probably rather be
> :    typedef struct scm_unused_struct_t * SCM;
> 
> Isn't the _t suffix usually attached to the type you typedef?  I mean,
> I've seen a lot of "typedef struct somestruct_s * somestruct_t", and I've
> used that idiom a lot myself too.

I guess I'll repeat this here:  some type names are reserved by POSIX,
including those that  end in `_t'.  I'd quote  from POSIX 1003.1-1996,
but I'm not at home at the moment  to put my hands on it.  If you have
the draft POSIX 1003.1-200x, see XSH sec 2.2 Name Space, line 638.

I don't necessarily  advocate sweeping the tree and  removing the `_t'
type names, but I don't think we should be adding new ones.

Cheers,
-- 
Jacques Vidrine / address@hidden / address@hidden / address@hidden



reply via email to

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