On Wed, Dec 26, 2001 at 08:34:08PM -0500, [EMAIL PROTECTED] wrote:
> Please don't make fun of me Tom, because I'm new at coding
>
> With that said.. I've noticed in function prototypes like:
> void do_function args((CHAR_DATA *ch, DO_FUN *do_fun, char *argument));
> theres the args() thing.. can someone please explain to me what the point of
> it is?
In the past (before the ANSI C standard), you prototyped functions as:
void blaat();
These days, you prototype then as:
void blaat(int,char *);
To make sure that the code compiled with the old and the news
compilers, they used that trick.
It's in merc.h, see in merc.h and search for Ansi.
Edwin
--
Edwin Groothuis | Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED] | Interested in MUDs? Visit Fatal Dimensions:
------------------+ http://www.FatalDimensions.org/