Mail Archives: djgpp/1996/04/15/00:17:19
Eric NICOLAS (nicolas AT dsys DOT ceng DOT cea DOT fr) writes:
> So, when you use those include files as C-code, nothing special happens, BUT
> when you use those include files in C++ code, they will be delimited by
> extern "C" { ... }
> So old-C function names will be generated.
So THAT's what EXTERN "C" does! I've always wondered... it's in all the
djgpp .h files, presumably because they used c++ to write the libraries
such as libc and libpc.
--
.*. "Clouds are not spheres, mountains are not cones, coastlines are not
-() < circles, and bark is not smooth, nor does lightning travel in a
`*' straight line." ,------------------------------------------------
-- B. Mandelbrot | Paul Derbyshire (PGD) ao950 AT freenet DOT carleton DOT ca
- Raw text -