[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-newbie
Subject:    Re: what does this block of code mean?
From:       Ben Kevan <ben.kevan () gmail ! com>
Date:       2007-07-16 3:10:34
Message-ID: 200707152010.35132.ben.kevan () gmail ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic