KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /usr/share/gtk-doc/html/libbonobo/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/gtk-doc/html/libbonobo/libbonobo-bonobo-arg.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>bonobo-arg</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="Libbonobo Reference Manual">
<link rel="up" href="property-bags.html" title="Property Bags, Events, Listeners">
<link rel="prev" href="libbonobo-bonobo-property-bag.html" title="BonoboPropertyBag">
<link rel="next" href="libbonobo-bonobo-property-bag-client.html" title="bonobo-property-bag-client">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="general.html" title="General">
<link rel="chapter" href="factories.html" title="Objects, Factories, Reference Counting">
<link rel="chapter" href="property-bags.html" title="Property Bags, Events, Listeners">
<link rel="chapter" href="monikers.html" title="Monikers">
<link rel="chapter" href="streams.html" title="Storages and Streams">
<link rel="chapter" href="persist.html" title="Persistency">
<link rel="chapter" href="misc.html" title="Miscellaneous">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libbonobo-bonobo-property-bag.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="property-bags.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Libbonobo Reference Manual</th>
<td><a accesskey="n" href="libbonobo-bonobo-property-bag-client.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2727781" class="shortcut">Top</a>
                  &#160;|&#160;
                  <a href="#id2728366" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libbonobo-bonobo-arg"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2727781"></a><span class="refentrytitle">bonobo-arg</span>
</h2>
<p>bonobo-arg &#8212; simplified CORBA_Any wrappers</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">



typedef     <a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>;
typedef     <a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a>;
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-NULL:CAPS">BONOBO_ARG_NULL</a>
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-BOOLEAN:CAPS">BONOBO_ARG_BOOLEAN</a>
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SHORT:CAPS">BONOBO_ARG_SHORT</a>
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-INT:CAPS">BONOBO_ARG_INT</a>
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-LONG:CAPS">BONOBO_ARG_LONG</a>
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-LONGLONG:CAPS">BONOBO_ARG_LONGLONG</a>
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-FLOAT:CAPS">BONOBO_ARG_FLOAT</a>
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-DOUBLE:CAPS">BONOBO_ARG_DOUBLE</a>
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-CHAR:CAPS">BONOBO_ARG_CHAR</a>
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-STRING:CAPS">BONOBO_ARG_STRING</a>
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-GENERAL:CAPS">BONOBO_ARG_GET_GENERAL</a>          (a,c,t,e)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-GENERAL:CAPS">BONOBO_ARG_SET_GENERAL</a>          (a,v,c,t,e)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-BOOLEAN:CAPS">BONOBO_ARG_GET_BOOLEAN</a>          (a)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-BOOLEAN:CAPS">BONOBO_ARG_SET_BOOLEAN</a>          (a,v)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-SHORT:CAPS">BONOBO_ARG_GET_SHORT</a>            (a)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-SHORT:CAPS">BONOBO_ARG_SET_SHORT</a>            (a,v)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-INT:CAPS">BONOBO_ARG_GET_INT</a>              (a)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-INT:CAPS">BONOBO_ARG_SET_INT</a>              (a,v)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-LONG:CAPS">BONOBO_ARG_GET_LONG</a>             (a)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-LONG:CAPS">BONOBO_ARG_SET_LONG</a>             (a,v)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-LONGLONG:CAPS">BONOBO_ARG_GET_LONGLONG</a>         (a)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-LONGLONG:CAPS">BONOBO_ARG_SET_LONGLONG</a>         (a,v)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-FLOAT:CAPS">BONOBO_ARG_GET_FLOAT</a>            (a)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-FLOAT:CAPS">BONOBO_ARG_SET_FLOAT</a>            (a,v)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-DOUBLE:CAPS">BONOBO_ARG_GET_DOUBLE</a>           (a)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-DOUBLE:CAPS">BONOBO_ARG_SET_DOUBLE</a>           (a,v)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-CHAR:CAPS">BONOBO_ARG_GET_CHAR</a>             (a)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-CHAR:CAPS">BONOBO_ARG_SET_CHAR</a>             (a,v)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-GET-STRING:CAPS">BONOBO_ARG_GET_STRING</a>           (a)
#define     <a href="libbonobo-bonobo-arg.html#BONOBO-ARG-SET-STRING:CAPS">BONOBO_ARG_SET_STRING</a>           (a,v)
<a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>*  <a href="libbonobo-bonobo-arg.html#bonobo-arg-new">bonobo_arg_new</a>                  (<a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> t);
<a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>*  <a href="libbonobo-bonobo-arg.html#bonobo-arg-new-from">bonobo_arg_new_from</a>             (<a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> t,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"
>gconstpointer</a> data);
void        <a href="libbonobo-bonobo-arg.html#bonobo-arg-release">bonobo_arg_release</a>              (<a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *arg);
<a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>*  <a href="libbonobo-bonobo-arg.html#bonobo-arg-copy">bonobo_arg_copy</a>                 (const <a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *arg);
void        <a href="libbonobo-bonobo-arg.html#bonobo-arg-from-gvalue">bonobo_arg_from_gvalue</a>          (<a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *a,
                                             const <a
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
>GValue</a> *value);
<a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> <a href="libbonobo-bonobo-arg.html#bonobo-arg-type-from-gtype">bonobo_arg_type_from_gtype</a>    (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> t);
void        <a href="libbonobo-bonobo-arg.html#bonobo-arg-to-gvalue">bonobo_arg_to_gvalue</a>            (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
>GValue</a> *value,
                                             const <a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *arg);
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a>       <a href="libbonobo-bonobo-arg.html#bonobo-arg-type-to-gtype">bonobo_arg_type_to_gtype</a>        (<a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> id);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="libbonobo-bonobo-arg.html#bonobo-arg-is-equal">bonobo_arg_is_equal</a>             (const <a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *a,
                                             const <a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *b,
                                             CORBA_Environment *opt_ev);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="libbonobo-bonobo-arg.html#bonobo-arg-type-is-equal">bonobo_arg_type_is_equal</a>        (<a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> a,
                                             <a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> b,
                                             CORBA_Environment *opt_ev);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2728366"></a><h2>Description</h2>
<p>
The BonoboArg code, and macros are designed to make the
use of CORBA_Any's slightly simpler by providing a glib
like binding for them. The bonobo-arg code also provides
mappings between GValues and CORBA_anys.
</p>
<p>
A typical use of the BonoboArg macros would be in 
  </p>
<div class="example">
<a name="id2728386"></a><p class="title"><b>Example&#160;6.&#160;Property bag implementation</b></p>
<pre class="programlisting">
static void
get_prop (BonoboPropertyBag *bag,
	  BonoboArg         *arg,
	  guint              arg_id,
	  CORBA_Environment *ev,
	  gpointer           user_data)
{
	GObject *clock = user_data;

	switch (arg_id) {

	case PROP_RUNNING: {
		BONOBO_ARG_SET_BOOLEAN (arg, is_it_running);
		break;
	}

	default:
		bonobo_exception_set (ev, ex_Bonobo_PropertyBag_NotFound);
		break;
	}
}
     </pre>
</div>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2728407"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2728417"></a><h3>
<a name="BonoboArg"></a>BonoboArg</h3>
<a class="indexterm" name="id2728429"></a><pre class="programlisting">typedef CORBA_any      BonoboArg;
</pre>
<p>
A glib style looking type alias for a CORBA_any
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2728446"></a><h3>
<a name="BonoboArgType"></a>BonoboArgType</h3>
<a class="indexterm" name="id2728458"></a><pre class="programlisting">typedef CORBA_TypeCode BonoboArgType;
</pre>
<p>
A glib style looking typedef for a CORBA type description.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2728475"></a><h3>
<a name="BONOBO-ARG-NULL:CAPS"></a>BONOBO_ARG_NULL</h3>
<a class="indexterm" name="id2728488"></a><pre class="programlisting">#define BONOBO_ARG_NULL     TC_null
</pre>
<p>
the null type
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2728504"></a><h3>
<a name="BONOBO-ARG-BOOLEAN:CAPS"></a>BONOBO_ARG_BOOLEAN</h3>
<a class="indexterm" name="id2728517"></a><pre class="programlisting">#define BONOBO_ARG_BOOLEAN  TC_CORBA_boolean
</pre>
<p>
the boolean type
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2728533"></a><h3>
<a name="BONOBO-ARG-SHORT:CAPS"></a>BONOBO_ARG_SHORT</h3>
<a class="indexterm" name="id2728547"></a><pre class="programlisting">#define BONOBO_ARG_SHORT    TC_CORBA_short
</pre>
<p>
the short type
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2728562"></a><h3>
<a name="BONOBO-ARG-INT:CAPS"></a>BONOBO_ARG_INT</h3>
<a class="indexterm" name="id2728574"></a><pre class="programlisting">#define BONOBO_ARG_INT      TC_CORBA_long
</pre>
<p>
the integer type [ in fact a long ]
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2728591"></a><h3>
<a name="BONOBO-ARG-LONG:CAPS"></a>BONOBO_ARG_LONG</h3>
<a class="indexterm" name="id2728604"></a><pre class="programlisting">#define BONOBO_ARG_LONG     TC_CORBA_long
</pre>
<p>
the long type
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2728620"></a><h3>
<a name="BONOBO-ARG-LONGLONG:CAPS"></a>BONOBO_ARG_LONGLONG</h3>
<a class="indexterm" name="id2728633"></a><pre class="programlisting">#define BONOBO_ARG_LONGLONG TC_CORBA_long_long
</pre>
<p>
the long long type
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2728648"></a><h3>
<a name="BONOBO-ARG-FLOAT:CAPS"></a>BONOBO_ARG_FLOAT</h3>
<a class="indexterm" name="id2728662"></a><pre class="programlisting">#define BONOBO_ARG_FLOAT    TC_CORBA_float
</pre>
<p>
the float type
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2728678"></a><h3>
<a name="BONOBO-ARG-DOUBLE:CAPS"></a>BONOBO_ARG_DOUBLE</h3>
<a class="indexterm" name="id2728691"></a><pre class="programlisting">#define BONOBO_ARG_DOUBLE   TC_CORBA_double
</pre>
<p>
the double type
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2728707"></a><h3>
<a name="BONOBO-ARG-CHAR:CAPS"></a>BONOBO_ARG_CHAR</h3>
<a class="indexterm" name="id2728720"></a><pre class="programlisting">#define BONOBO_ARG_CHAR     TC_CORBA_char
</pre>
<p>
the char type
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2728736"></a><h3>
<a name="BONOBO-ARG-STRING:CAPS"></a>BONOBO_ARG_STRING</h3>
<a class="indexterm" name="id2728748"></a><pre class="programlisting">#define BONOBO_ARG_STRING   TC_CORBA_string
</pre>
<p>
the string type
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2728764"></a><h3>
<a name="BONOBO-ARG-GET-GENERAL:CAPS"></a>BONOBO_ARG_GET_GENERAL()</h3>
<a class="indexterm" name="id2728777"></a><pre class="programlisting">#define     BONOBO_ARG_GET_GENERAL(a,c,t,e)</pre>
<p>
A macro to extract a value from a BonoboArg with
the given CORBA type <em class="parameter"><code>t</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the BonoboArg
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>c</code></em>&#160;:</span></td>
<td>a BonoboArgType for checking
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>t</code></em>&#160;:</span></td>
<td>the C type of the value eg. for BONOBO_ARG_LONG: CORBA_long
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>e</code></em>&#160;:</span></td>
<td>an optional CORBA_Environment or NULL.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2728860"></a><h3>
<a name="BONOBO-ARG-SET-GENERAL:CAPS"></a>BONOBO_ARG_SET_GENERAL()</h3>
<a class="indexterm" name="id2728873"></a><pre class="programlisting">#define     BONOBO_ARG_SET_GENERAL(a,v,c,t,e)</pre>
<p>
A macro to insert a value into an empty BonoboArg with
the given CORBA type <em class="parameter"><code>t</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the BonoboArg
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
<td>a pointer to the value to insert.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>c</code></em>&#160;:</span></td>
<td>a BonoboArgType for checking
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>t</code></em>&#160;:</span></td>
<td>the C type of the value eg. for BONOBO_ARG_LONG: CORBA_long
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>e</code></em>&#160;:</span></td>
<td>an optional CORBA_Environment or NULL.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2728970"></a><h3>
<a name="BONOBO-ARG-GET-BOOLEAN:CAPS"></a>BONOBO_ARG_GET_BOOLEAN()</h3>
<a class="indexterm" name="id2728983"></a><pre class="programlisting">#define BONOBO_ARG_GET_BOOLEAN(a)   (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_boolean, CORBA_boolean, NULL))
</pre>
<p>
This macro returns a CORBA_boolean from inside a BonoboArg.
If the BonoboArg's type does not match, the behavior is
undefined, and may cause faults.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the BonoboArg to extract the value from.


</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2729021"></a><h3>
<a name="BONOBO-ARG-SET-BOOLEAN:CAPS"></a>BONOBO_ARG_SET_BOOLEAN()</h3>
<a class="indexterm" name="id2729034"></a><pre class="programlisting">#define BONOBO_ARG_SET_BOOLEAN(a,v) (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_boolean, CORBA_boolean, NULL))
</pre>
<p>
This macro sets the value of <em class="parameter"><code>a</code></em> to contain <em class="parameter"><code>v</code></em>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the Bonobo arg to insert the value into
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
<td>a CORBA_boolean.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2729094"></a><h3>
<a name="BONOBO-ARG-GET-SHORT:CAPS"></a>BONOBO_ARG_GET_SHORT()</h3>
<a class="indexterm" name="id2729108"></a><pre class="programlisting">#define BONOBO_ARG_GET_SHORT(a)     (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_short, CORBA_short, NULL))
</pre>
<p>
This macro returns a CORBA_short from inside a BonoboArg.
If the BonoboArg's type does not match, the behavior is
undefined, and may cause faults.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the BonoboArg to extract the value from.


</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2729146"></a><h3>
<a name="BONOBO-ARG-SET-SHORT:CAPS"></a>BONOBO_ARG_SET_SHORT()</h3>
<a class="indexterm" name="id2729158"></a><pre class="programlisting">#define BONOBO_ARG_SET_SHORT(a,v)   (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_short, CORBA_short, NULL))
</pre>
<p>
This macro sets the value of <em class="parameter"><code>a</code></em> to contain <em class="parameter"><code>v</code></em>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the Bonobo arg to insert the value into
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
<td>a CORBA_short.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2729219"></a><h3>
<a name="BONOBO-ARG-GET-INT:CAPS"></a>BONOBO_ARG_GET_INT()</h3>
<a class="indexterm" name="id2729232"></a><pre class="programlisting">#define BONOBO_ARG_GET_INT(a)       (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_long, CORBA_long, NULL))
</pre>
<p>
this macro returns a CORBA_long from inside a BonoboArg,
if the BonoboArg's type does not match, the behavior is
undefined, and may cause faults.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the BonoboArg to extract the value from.


</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2729270"></a><h3>
<a name="BONOBO-ARG-SET-INT:CAPS"></a>BONOBO_ARG_SET_INT()</h3>
<a class="indexterm" name="id2729283"></a><pre class="programlisting">#define BONOBO_ARG_SET_INT(a,v)     (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_long, CORBA_long, NULL))
</pre>
<p>
This macro sets the value of <em class="parameter"><code>a</code></em> to contain <em class="parameter"><code>v</code></em>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the Bonobo arg to insert the value into
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
<td>a CORBA_long.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2729344"></a><h3>
<a name="BONOBO-ARG-GET-LONG:CAPS"></a>BONOBO_ARG_GET_LONG()</h3>
<a class="indexterm" name="id2729356"></a><pre class="programlisting">#define BONOBO_ARG_GET_LONG(a)      (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_long, CORBA_long, NULL))
</pre>
<p>
this macro returns a CORBA_long from from inside a BonoboArg,
if the BonoboArg's type does not match, the behavior is
undefined, and may cause faults.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the BonoboArg to extract the value from.


</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2729394"></a><h3>
<a name="BONOBO-ARG-SET-LONG:CAPS"></a>BONOBO_ARG_SET_LONG()</h3>
<a class="indexterm" name="id2729407"></a><pre class="programlisting">#define BONOBO_ARG_SET_LONG(a,v)    (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_long, CORBA_long, NULL))
</pre>
<p>
This macro sets the value of <em class="parameter"><code>a</code></em> to contain <em class="parameter"><code>v</code></em>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the Bonobo arg to insert the value into
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
<td>a CORBA_long.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2729467"></a><h3>
<a name="BONOBO-ARG-GET-LONGLONG:CAPS"></a>BONOBO_ARG_GET_LONGLONG()</h3>
<a class="indexterm" name="id2729481"></a><pre class="programlisting">#define BONOBO_ARG_GET_LONGLONG(a)  (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_long_long, CORBA_long_long, NULL))
</pre>
<p>
this macro returns a CORBA_long_long from from inside a BonoboArg,
if the BonoboArg's type does not match, the behavior is
undefined, and may cause faults.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the BonoboArg to extract the value from.


</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2729519"></a><h3>
<a name="BONOBO-ARG-SET-LONGLONG:CAPS"></a>BONOBO_ARG_SET_LONGLONG()</h3>
<a class="indexterm" name="id2729532"></a><pre class="programlisting">#define BONOBO_ARG_SET_LONGLONG(a,v) (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_long_long, CORBA_long_long, NULL))
</pre>
<p>
This macro sets the value of <em class="parameter"><code>a</code></em> to contain <em class="parameter"><code>v</code></em>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the Bonobo arg to insert the value into
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
<td>a CORBA_long_long.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2729593"></a><h3>
<a name="BONOBO-ARG-GET-FLOAT:CAPS"></a>BONOBO_ARG_GET_FLOAT()</h3>
<a class="indexterm" name="id2729606"></a><pre class="programlisting">#define BONOBO_ARG_GET_FLOAT(a)     (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_float, CORBA_float, NULL))
</pre>
<p>
this macro returns a CORBA_float from inside a BonoboArg,
if the BonoboArg's type does not match, the behavior is
undefined, and may cause faults.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the BonoboArg to extract the value from.


</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2729643"></a><h3>
<a name="BONOBO-ARG-SET-FLOAT:CAPS"></a>BONOBO_ARG_SET_FLOAT()</h3>
<a class="indexterm" name="id2729657"></a><pre class="programlisting">#define BONOBO_ARG_SET_FLOAT(a,v)   (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_float, CORBA_float, NULL))
</pre>
<p>
This macro sets the value of <em class="parameter"><code>a</code></em> to contain <em class="parameter"><code>v</code></em>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the Bonobo arg to insert the value into
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
<td>a CORBA_float.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2729717"></a><h3>
<a name="BONOBO-ARG-GET-DOUBLE:CAPS"></a>BONOBO_ARG_GET_DOUBLE()</h3>
<a class="indexterm" name="id2729731"></a><pre class="programlisting">#define BONOBO_ARG_GET_DOUBLE(a)    (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_double, CORBA_double, NULL))
</pre>
<p>
This macro returns a CORBA_double from inside a BonoboArg.
If the BonoboArg's type does not match, the behavior is
undefined, and may cause faults.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the BonoboArg to extract the value from.


</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2729768"></a><h3>
<a name="BONOBO-ARG-SET-DOUBLE:CAPS"></a>BONOBO_ARG_SET_DOUBLE()</h3>
<a class="indexterm" name="id2729782"></a><pre class="programlisting">#define BONOBO_ARG_SET_DOUBLE(a,v)  (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_double, CORBA_double, NULL))
</pre>
<p>
This macro sets the value of <em class="parameter"><code>a</code></em> to contain <em class="parameter"><code>v</code></em>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the Bonobo arg to insert the value into
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
<td>a CORBA_double.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2729842"></a><h3>
<a name="BONOBO-ARG-GET-CHAR:CAPS"></a>BONOBO_ARG_GET_CHAR()</h3>
<a class="indexterm" name="id2729855"></a><pre class="programlisting">#define BONOBO_ARG_GET_CHAR(a)      (BONOBO_ARG_GET_GENERAL (a, TC_CORBA_char, CORBA_char, NULL))
</pre>
<p>
This macro returns a CORBA_char from inside a BonoboArg,
If the BonoboArg's type does not match, the behavior is
undefined, and may cause faults.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the BonoboArg to extract the value from.


</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2729892"></a><h3>
<a name="BONOBO-ARG-SET-CHAR:CAPS"></a>BONOBO_ARG_SET_CHAR()</h3>
<a class="indexterm" name="id2729905"></a><pre class="programlisting">#define BONOBO_ARG_SET_CHAR(a,v)    (BONOBO_ARG_SET_GENERAL (a, v, TC_CORBA_char, CORBA_char, NULL))
</pre>
<p>
This macro sets the value of <em class="parameter"><code>a</code></em> to contain <em class="parameter"><code>v</code></em>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the Bonobo arg to insert the value into
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
<td>a CORBA_char.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2729966"></a><h3>
<a name="BONOBO-ARG-GET-STRING:CAPS"></a>BONOBO_ARG_GET_STRING()</h3>
<a class="indexterm" name="id2729979"></a><pre class="programlisting">#define     BONOBO_ARG_GET_STRING(a)</pre>
<p>
this macro returns a const CORBA_char * from from inside a
BonoboArg, if the BonoboArg's type does not match, the
behavior is undefined, and may cause faults. The
pointer to the string is only valid for the scope of
the lifetime of <em class="parameter"><code>a</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the BonoboArg to extract the value from.


</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2730022"></a><h3>
<a name="BONOBO-ARG-SET-STRING:CAPS"></a>BONOBO_ARG_SET_STRING()</h3>
<a class="indexterm" name="id2730035"></a><pre class="programlisting">#define     BONOBO_ARG_SET_STRING(a,v)</pre>
<p>
This macro sets the value of <em class="parameter"><code>a</code></em> to contain a
duplicated copy of <em class="parameter"><code>v</code></em>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td>the Bonobo arg to insert the value into
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>v</code></em>&#160;:</span></td>
<td>a CORBA_char *.


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2730095"></a><h3>
<a name="bonobo-arg-new"></a>bonobo_arg_new ()</h3>
<a class="indexterm" name="id2730108"></a><pre class="programlisting"><a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>*  bonobo_arg_new                  (<a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> t);</pre>
<p>
Create a new BonoboArg with the specified type
the value of the BonoboArg is initially empty.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>t</code></em>&#160;:</span></td>
<td> the BonoboArgType eg. TC_CORBA_long
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the new <a href="libbonobo-bonobo-arg.html#BonoboArg"><span class="type">BonoboArg</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2730178"></a><h3>
<a name="bonobo-arg-new-from"></a>bonobo_arg_new_from ()</h3>
<a class="indexterm" name="id2730191"></a><pre class="programlisting"><a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>*  bonobo_arg_new_from             (<a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> t,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"
>gconstpointer</a> data);</pre>
<p>
Create a new BonoboArg with the specified type and data</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>t</code></em>&#160;:</span></td>
<td> the BonoboArgType eg. TC_CORBA_long
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td> the data for the BonoboArg to be created
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the new <a href="libbonobo-bonobo-arg.html#BonoboArg"><span class="type">BonoboArg</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2730282"></a><h3>
<a name="bonobo-arg-release"></a>bonobo_arg_release ()</h3>
<a class="indexterm" name="id2730295"></a><pre class="programlisting">void        bonobo_arg_release              (<a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *arg);</pre>
<p>
This frees the memory associated with <em class="parameter"><code>arg</code></em></p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>arg</code></em>&#160;:</span></td>
<td> the bonobo arg.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2730349"></a><h3>
<a name="bonobo-arg-copy"></a>bonobo_arg_copy ()</h3>
<a class="indexterm" name="id2730361"></a><pre class="programlisting"><a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a>*  bonobo_arg_copy                 (const <a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *arg);</pre>
<p>
This function duplicates <em class="parameter"><code>a</code></em> by a deep copy</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg</code></em>&#160;:</span></td>
<td> the bonobo arg
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a copy of <em class="parameter"><code>arg</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2730433"></a><h3>
<a name="bonobo-arg-from-gvalue"></a>bonobo_arg_from_gvalue ()</h3>
<a class="indexterm" name="id2730446"></a><pre class="programlisting">void        bonobo_arg_from_gvalue          (<a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *a,
                                             const <a
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
>GValue</a> *value);</pre>
<p>
This maps a GValue <em class="parameter"><code>value</code></em> to a BonoboArg <em class="parameter"><code>a</code></em>;
<em class="parameter"><code>a</code></em> must point to a freshly allocated BonoboArg
eg. such as returned by bonobo_arg_new</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td> pointer to blank BonoboArg
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td> <a
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
><span class="type">GValue</span></a> to copy
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2730544"></a><h3>
<a name="bonobo-arg-type-from-gtype"></a>bonobo_arg_type_from_gtype ()</h3>
<a class="indexterm" name="id2730558"></a><pre class="programlisting"><a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> bonobo_arg_type_from_gtype    (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> t);</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>t</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2730614"></a><h3>
<a name="bonobo-arg-to-gvalue"></a>bonobo_arg_to_gvalue ()</h3>
<a class="indexterm" name="id2730626"></a><pre class="programlisting">void        bonobo_arg_to_gvalue            (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
>GValue</a> *value,
                                             const <a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *arg);</pre>
<p>
Maps a BonoboArg to a GtkArg; <em class="parameter"><code>a</code></em> must point
to a blank GtkArg.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td> pointer to a blank <a
href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"
><span class="type">GValue</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>arg</code></em>&#160;:</span></td>
<td> the BonoboArg to copy
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2730712"></a><h3>
<a name="bonobo-arg-type-to-gtype"></a>bonobo_arg_type_to_gtype ()</h3>
<a class="indexterm" name="id2730726"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a>       bonobo_arg_type_to_gtype        (<a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> id);</pre>
<p>
This maps a BonoboArgType to a GType</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>id</code></em>&#160;:</span></td>
<td> the BonoboArgType
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the mapped type or <code class="literal">0</code> on failure
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2730798"></a><h3>
<a name="bonobo-arg-is-equal"></a>bonobo_arg_is_equal ()</h3>
<a class="indexterm" name="id2730812"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    bonobo_arg_is_equal             (const <a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *a,
                                             const <a href="libbonobo-bonobo-arg.html#BonoboArg">BonoboArg</a> *b,
                                             CORBA_Environment *opt_ev);</pre>
<p>
Compares two <a href="libbonobo-bonobo-arg.html#BonoboArg"><span class="type">BonoboArg</span></a>'s for equivalence; will return <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>
if equivalent for all simple cases. For Object references
CORBA sometimes denies 2 object references are equivalent
even if they are [ this is a feature_not_bug ].
</p>
<p>
This function is commutative.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td> a bonobo arg
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></td>
<td> another bonobo arg
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>opt_ev</code></em>&#160;:</span></td>
<td> optional exception environment or <a
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if <em class="parameter"><code>a</code></em> == <em class="parameter"><code>b</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2730971"></a><h3>
<a name="bonobo-arg-type-is-equal"></a>bonobo_arg_type_is_equal ()</h3>
<a class="indexterm" name="id2730984"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    bonobo_arg_type_is_equal        (<a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> a,
                                             <a href="libbonobo-bonobo-arg.html#BonoboArgType">BonoboArgType</a> b,
                                             CORBA_Environment *opt_ev);</pre>
<p>
This compares two <a href="libbonobo-bonobo-arg.html#BonoboArgType"><span class="type">BonoboArgType</span></a>'s in <em class="parameter"><code>a</code></em> and <em class="parameter"><code>b</code></em>.
The <em class="parameter"><code>opt_ev</code></em> is an optional <span class="type">CORBA_Environment</span> for
exceptions, or <a
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
><code class="literal">NULL</code></a>. This function is commutative.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>a</code></em>&#160;:</span></td>
<td> a type code
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>b</code></em>&#160;:</span></td>
<td> a type code
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>opt_ev</code></em>&#160;:</span></td>
<td> optional exception environment or NULL.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if equal, <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> if different
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>

Anon7 - 2021