Re: [CODE] header files

From: George Greer (greerga@circlemud.org)
Date: 04/10/99


On Sat, 10 Apr 1999, Chris Gilbert wrote:

>What I mean by this is that most of the code has lots of lines at the
>top declaring all the external funcs and vars used within that .c file,
>rather than, what I thought was more normal, just including .h files
>that have all this info in.  I just wondered as it's annoying to change
>the type of a global var and then have to track down every .c file that
>uses an extern declaration for it...  I know grep can find the lines,
>and you can probably use sed to do it, my point is that it should only
>really be necessary to change the .c file and the related .h file.

Partially heritage, partially extensions upon that heritage.

You'll note a new 'constants.h' file in the latest patchlevels where I am
trying to place the appropriate declarations.  More things should move but
I've had little time lately.

--
George Greer            | Sammy's Code - OBuild
greerga@circlemud.org   | http://www.ticnet.com/samedi/code.html


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST