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?
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]