Date: Mon, 15 Apr 1996 09:21:47 +0200 (IST) From: Eli Zaretskii To: Paul Derbyshire Cc: djgpp AT delorie DOT com Subject: Re: MikMod210 [Linking C and C++ together] In-Reply-To: <4kqd3m$n1q@freenet-news.carleton.ca> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 14 Apr 1996, Paul Derbyshire wrote: > 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. No, these ``extern "C"'' declarations are there so C++ programs can call functions from the C library. The library is written in C and (a small part of it) in assembly.