In message <[EMAIL PROTECTED]>
          Nicholas Clark <[EMAIL PROTECTED]> wrote:

> On Sat, Feb 16, 2002 at 01:46:56AM -0800, Brent Dax wrote:
> > NEW CONVENTIONS FOR DATA EXPOSED TO EMBEDDERS:
> > 
> > -All structs should have a name of the form parrot_system_t.  This name
> > should never be directly used outside the subsystem in question.
> > 
> > struct parrot_foo_t {
> >     ...
> > };
> 
> Am I right in thinking that I could paraphrase that statement as
> "All structs should trample in ANSI's reserved namespace"?

I don't think so... As far as I can find in the standard, only
certain type names ending in _t are reserved, namely:

       [#1] Type names beginning with int or uint and  ending  with
       _t  may  be  added  to the types defined in the <inttypes.h>
       header.  Macro names beginning with INT or UINT  and  ending
       with  _MAX or _MIN, or macro names beginning with PRI or SCN
       followed by any lower case letter or X may be added  to  the
       macros defined in the <inttypes.h> header.

So struct x_t should be fine because that's a structure tag and
not a type name.

Tom

-- 
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/

Reply via email to