public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Ben Kevan <ben.kevan@gmail.com>
To: Jack Bauer <bauer.free@gmail.com>
Cc: linux-newbie@vger.kernel.org
Subject: Re: what does this block of code mean?
Date: Sun, 15 Jul 2007 20:10:34 -0700	[thread overview]
Message-ID: <200707152010.35132.ben.kevan@gmail.com> (raw)
In-Reply-To: <90d49b680707151840i234269edrf79bbe9332c23946@mail.gmail.com>

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

      reply	other threads:[~2007-07-16  3:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-16  1:40 what does this block of code mean? Jack Bauer
2007-07-16  3:10 ` Ben Kevan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200707152010.35132.ben.kevan@gmail.com \
    --to=ben.kevan@gmail.com \
    --cc=bauer.free@gmail.com \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox