Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > by-pkgid > 3b48699e843b35df1b27c2e45fb58049 > files > 157

gcc-go-4.6.1-3.3.i586.rpm

<html lang="en">
<head>
<title>C Interoperability - The GNU Go Compiler</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="The GNU Go Compiler">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="prev" href="Import-and-Export.html#Import-and-Export" title="Import and Export">
<link rel="next" href="Index.html#Index" title="Index">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
Copyright (C) 2010 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, the Front-Cover Texts being (a) (see below), and
with the Back-Cover Texts being (b) (see below).
A copy of the license is included in the
section entitled ``GNU Free Documentation License''.


(a) The FSF's Front-Cover Text is:

     A GNU Manual

(b) The FSF's Back-Cover Text is:

     You have freedom to copy and modify this GNU Manual, like GNU
     software.  Copies published by the Free Software Foundation raise
     funds for GNU development.
-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
  pre.display { font-family:inherit }
  pre.format  { font-family:inherit }
  pre.smalldisplay { font-family:inherit; font-size:smaller }
  pre.smallformat  { font-family:inherit; font-size:smaller }
  pre.smallexample { font-size:smaller }
  pre.smalllisp    { font-size:smaller }
  span.sc    { font-variant:small-caps }
  span.roman { font-family:serif; font-weight:normal; } 
  span.sansserif { font-family:sans-serif; font-weight:normal; } 
--></style>
</head>
<body>
<div class="node">
<a name="C-Interoperability"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="Index.html#Index">Index</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="Import-and-Export.html#Import-and-Export">Import and Export</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="index.html#Top">Top</a>
<hr>
</div>

<h2 class="chapter">3 C Interoperability</h2>

<p>When using <samp><span class="command">gccgo</span></samp> there is limited interoperability with C,
or with C++ code compiled using <code>extern "C"</code>.

<ul class="menu">
<li><a accesskey="1" href="C-Type-Interoperability.html#C-Type-Interoperability">C Type Interoperability</a>:      How C and Go types match up. 
<li><a accesskey="2" href="Function-Names.html#Function-Names">Function Names</a>:               How Go functions are named. 
</ul>

   </body></html>