gnustep-dev
[Top][All Lists]
Advanced

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

Re: [RFC] Header organization GNUstepBase


From: Alexander Malmberg
Subject: Re: [RFC] Header organization GNUstepBase
Date: Mon, 04 Aug 2003 00:42:02 +0200

Markus Hitter wrote:
> Am Freitag, 01.08.03 um 12:35 Uhr schrieb Richard Frith-Macdonald:
> > If you look at Apples headers, you will often see classes with no
> > ivars,
> > wheras we have loads of ivars in the interfaces we declare in our
> > headers.
> 
> It's just a wild guess, but they might have a little script which
> removes the ivars when installing the headers.

That wouldn't work. The user (of the library, embodied by the compiler)
has to know the size of the ivars for subclasses to work. (For private
ivars, it doesn't need to know anything except the total size, though,
so you could add dummy declarations of the same size, but that's very
fragile and very hard to port.)

- Alexander Malmberg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]