<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>
