DragonFly BSD
DragonFly users List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: 'Base class' shared libraries in C?


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Tue, 29 Mar 2005 23:20:07 +0200
Mail-followup-to: users@crater.dragonflybsd.org

On Tue, Mar 29, 2005 at 01:11:42PM -0800, Max Okumoto wrote:
> I would not use *_t as the name of the typedef.  It might
> conflict with a standard C or POSIX defintion in the future.
> Just use base, since that allows you to hide the definition.
> It will reduce your compile times when you modify a header file.
[skipped example]

I'd also normally spell it out as "struct base", it is often confusing
and annoying to not know which types are pointers, which are structures.
That doesn't change your about :)

Joerg



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