Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: declarations in include files:  how do YOU feel?
Message-ID: <1989May15.170926.2178@utzoo.uucp>
Organization: U of Toronto Zoology
References: <179@larry.sal.wisc.edu> <10251@smoke.BRL.MIL> <181@larry.sal.wisc.edu> <2337@mit-caf.MIT.EDU>
Date: Mon, 15 May 89 17:09:26 GMT

In article <2337@mit-caf.MIT.EDU> vlcek@mit-caf.UUCP (Jim Vlcek) writes:
>If what was once a function is turned into a macro, programs which
>passed arguments with side effects to the function may not work
>correctly with the macro...

Normally it's necessary for such macros to be written carefully so that
they invoke each argument exactly once.  Given that, and the constraints
it puts on what can be done in a macro, though, the transformation doesn't
usually cause trouble.
-- 
Subversion, n:  a superset     |     Henry Spencer at U of Toronto Zoology
of a subset.    --J.J. Horning | uunet!attcan!utzoo!henry henry@zoo.toronto.edu
