Re: what does this block of code mean?

Ben Kevan
2007-07-16T03:10:34Z

On Sunday 15 July 2007 06:40:27 pm Jack Bauer wrote:
> Hi
>
> This is in tclcl.h file.
>
> #include <sys/types.h>
> #include <string.h>
> #include <tcl.h>
> extern "C" {
> #include <otcl.h>
> }
>
> #include "tclcl-config.h"
> #include "tracedvar.h"
>
> What does extern "C" ... mean?
>
> Thanks in advance.

tells the C++ compiler that the functions declared in the header file are C
functions

--
How much can you know about yourself, you've never been in a fight? I don't
wanna die without any scars. So come on; hit me

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs