On Thu, 2004-03-25 at 11:14, Steve Wampler wrote:
On Thu, 2004-03-25 at 06:59, jludwig wrote:
> If include is a preprocessor directive how can it be in the body of a
> function?
Uh, how can it not be ok there? The preprocessor doesn't know
anything about function bodies - it's just processing text, not
C code.
In fact, you can do some amazing things with the preprocessor,
most of which shouldn't be done.
A good example of this is located at
http://lxr.mozilla.org/security/source/security/nss/lib/softoken/pkcs11.c...
this #include allows this code to define a function pointers structure
with the same function definitions previously included
--
Steve Wampler -- swampler(a)noao.edu
The gods that smiled on your birth are now laughing out loud.
--
Robert Marcano