Front page | perl.perl6.internals |
Postings from March 2002
Re: typedefs
Thread Previous
|
Thread Next
From:
Bryan C. Warnock
Date:
March 22, 2002 15:15
Subject:
Re: typedefs
Message ID:
200203222310.g2MNAfF25682@smtp.capita.com
On Friday 22 March 2002 18:05, Brent Dax wrote:
> Russ Allbery:
> # Brent Dax <brentdax@cpan.org> writes:
> # > Parrot_Foo for external names, FOO for internal names, struct
> # > parrot_foo_t for struct names.
> #
> # POSIX reserves all types ending in _t. I'm not sure that extends to
> # struct tags, but it may still be better to use _s or something else
> # instead to avoid potential problems.
>
> My understanding is that it only reserves types that start with 'int' or
> 'uint' and end with '_t'. You might wanna check that, though...
wchar_t, size_t, off_t, dirent_t, pid_t, uid_t, gid_t, socklen_t, etc.
Dunno how many are actually POSIX, but....
>
> Besides, what's the probability it'll be a problem if we prefix all
> struct names with 'parrot_'?
You don't really want to do that, do you?
--
Bryan C. Warnock
bwarnock@capita.com
Thread Previous
|
Thread Next