This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Find more ObjC methods
- From: Markus Hitter <mah at jump-ing dot de>
- To: Alexander Malmberg <alexander at malmberg dot org>
- Cc: Ziemowit Laski <zlaski at apple dot com>, discuss-gnustep at gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Fri, 3 Oct 2003 11:45:17 +0200
- Subject: Re: PATCH: Find more ObjC methods
Am Freitag, 03.10.03 um 04:10 Uhr schrieb Alexander Malmberg:
Ziemowit Laski wrote:
[snip]
in the long run, the compiler should stop distinguishing @interfaces
from
@implementations (since the former are merely forward declarations
for the latter).
I've always considered this a feature. The @interface is the public
interface for an @implementation. Thus, methods that appear only in an
implementation are private to that implementation.
It will stay there as a feature unless you get rid of header files at
all and #include the whole source when using a library.
Even with Ziemowit's POV, the number of methods/variables etc. will
differ for compiling a header/source pair and for compiling some other
source including the header.
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/