what does this block of code mean?

what does this block of code mean?

am 16.07.2007 03:40:27 von Jack Bauer

Hi

This is in tclcl.h file.

#include
#include
#include
extern "C" {
#include
}

#include "tclcl-config.h"
#include "tracedvar.h"

What does extern "C" ... mean?

Thanks in advance.

--
Xia YinChu 夏寅初
@
ShangHai JiaoTong University
-
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

Re: what does this block of code mean?

am 16.07.2007 05:10:34 von Ben Kevan

On Sunday 15 July 2007 06:40:27 pm Jack Bauer wrote:
> Hi
>
> This is in tclcl.h file.
>
> #include
> #include
> #include
> extern "C" {
> #include
> }
>
> #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