'Base class' shared libraries in C?

Joerg Sonnenberger joerg at britannica.bec.de
Tue Mar 29 13:23:19 PST 2005


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





More information about the Users mailing list