Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 1bbf51ece72e40a5f40ad48678e7c5a5 > files > 370

libgnome32-devel-1.4.2-22mdv2009.1.i586.rpm

<refentry id="gnome-gnome-defs">
<refmeta>
<refentrytitle>gnome-defs</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GNOME Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>gnome-defs</refname><refpurpose>GNOME definitions for C++ linking.</refpurpose>
</refnamediv>

<refsynopsisdiv><title>Synopsis</title>
<synopsis>

#include &lt;gnome.h&gt;


#define     <link linkend="BEGIN-GNOME-DECLS-CAPS">BEGIN_GNOME_DECLS</link>
#define     <link linkend="END-GNOME-DECLS-CAPS">END_GNOME_DECLS</link>
</synopsis>
</refsynopsisdiv>





<refsect1>
<title>Description</title>
<para>
This module only defines two macros for wrapping public function
interface declarations in a C-accesible way. They are usually used in
header files.  They are empty macros for C compilation and they map to
<emphasis>extern "C"</emphasis> for C++ compilation.
</para>
</refsect1>

<refsect1>
<title>Details</title>
<refsect2>
<title><anchor id="BEGIN-GNOME-DECLS-CAPS">BEGIN_GNOME_DECLS</title>
<programlisting>#define     BEGIN_GNOME_DECLS</programlisting>
<para>
Use this macro at the beginning of your public function declarations.
</para></refsect2>
<refsect2>
<title><anchor id="END-GNOME-DECLS-CAPS">END_GNOME_DECLS</title>
<programlisting>#define     END_GNOME_DECLS</programlisting>
<para>
Use this macro at the end of your public function declarations.
</para></refsect2>

</refsect1>




</refentry>