home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.objective-c
- Path: sparky!uunet!elroy.jpl.nasa.gov!nntp-server.caltech.edu!news
- From: ernest@pundit.cithep.caltech.edu (Ernest Prabhakar)
- Subject: Re: instance variable declarations..
- Message-ID: <1992Sep12.190112.16178@cco.caltech.edu>
- Sender: news@cco.caltech.edu
- Nntp-Posting-Host: pundit.cithep.caltech.edu
- Reply-To: ernest@pundit.cithep.caltech.edu (Ernest Prabhakar)
- Organization: California Institute of Technology, Pasadena
- References: <1992Sep12.140413.744@stefki.toppoint.de>
- Date: Sat, 12 Sep 1992 19:01:12 GMT
- Lines: 37
-
- In article <1992Sep12.140413.744@stefki.toppoint.de> stefan@stefki.toppoint.de
- (Stefan Krause) writes:
- >
- > When you've taken this step, repeating the instance variable
- > declarations in the .m file, it comes into your mind that this is
- > unnecessary redundancy. What do you need in a .h file
- > additionally to the instance variable and method declarations?
- >
- > Thus I need a way to write these statements in the .m file.
- > And I use a simple awk-script to extract the .h
- > file from the .m file. If you want to see this script then let me
- > know.
-
- I have spent a fair amount of time thinking about a generic 'mtoh' converter.
- You would also want the appropriate amount of support so Make would generate
- (and precompile!) the headers whenever 'substantive' changes occurred. The
- only difference was that I was thinking of something like:
- /*@
- stuff for .h file
- @*/
- Instead of '#pragma .h' as the indicator of code for the '.h' file. Which is
- more robust and general?
-
- I may even get as far as writing a man page, even though it will be a while
- before I can code anything. I would like a copy of your code, Stefan, just in
- case. It does seem like this is something that should be taken care of
- automatically, doesn't it?
-
- - Ernie P.
-
-
- --
- Ernest N. Prabhakar Caltech High Energy Physics
- Member, League for Programming Freedom (league@prep.ai.mit.edu)
- CaJUN President NeXTMail:ernest@pundit.cithep.caltech.edu
- "...and ourselves, your servants for Jesus sake." - II Cor 4:5b
- #import <std/disclaimer.h>
-