## bonobo-types bonobo-types |

## Synopsis

    GType               bonobo_corba_object_type_register_static
                                                            (const gchar *name,
                                                             const CORBA_TypeCode tc,
                                                             gboolean is_bonobo_unknown);
    #define             BONOBO_TYPE_UNKNOWN
    #define             BONOBO_TYPE_CORBA_ANY
    #define             BONOBO_TYPE_CORBA_OBJECT
    #define             BONOBO_TYPE_CORBA_TYPECODE
    #define             BONOBO_TYPE_CORBA_EXCEPTION
    #define             BONOBO_TYPE_STATIC_CORBA_EXCEPTION
    #define             BONOBO_TYPE_STATIC_UNKNOWN
    #define             BONOBO_TYPE_STATIC_CORBA_ANY
    #define             BONOBO_TYPE_STATIC_CORBA_OBJECT
    #define             BONOBO_TYPE_STATIC_CORBA_TYPECODE
    #define             BONOBO_VALUE_HOLDS_UNKNOWN          (value)
    #define             BONOBO_VALUE_HOLDS_CORBA_ANY        (value)
    #define             BONOBO_VALUE_HOLDS_CORBA_OBJECT     (value)
    #define             BONOBO_VALUE_HOLDS_CORBA_TYPECODE   (value)
    #define             BONOBO_VALUE_HOLDS_CORBA_EXCEPTION  (value)
    Bonobo_Unknown      bonobo_value_get_unknown            (const GValue *value);
    BonoboArg *         bonobo_value_get_corba_any          (const GValue *value);
    CORBA_Object        bonobo_value_get_corba_object       (const GValue *value);
    CORBA_TypeCode      bonobo_value_get_corba_typecode     (const GValue *value);
    const CORBA_Environment * bonobo_value_get_corba_exception
                                                            (const GValue *value);
    void                bonobo_value_set_unknown            (GValue *value,
                                                             const Bonobo_Unknown unknown);
    void                bonobo_value_set_corba_any          (GValue *value,
                                                             const CORBA_any *any);
    void                bonobo_value_set_corba_object       (GValue *value,
                                                             const CORBA_Object object);
    void                bonobo_value_set_corba_typecode     (GValue *value,
                                                             const CORBA_TypeCode tc);
    void                bonobo_value_set_corba_environment  (GValue *value,
                                                             const CORBA_Environment *ev);
    void                bonobo_closure_invoke_va_list       (GClosure *closure,
                                                             GValue *return_value,
                                                             va_list var_args);
    void                bonobo_closure_invoke               (GClosure *closure,
                                                             GType return_type,
                                                             ...);
    GClosure *          bonobo_closure_store                (GClosure *closure,
                                                             GClosureMarshal default_marshal);

## Description

## Details

### bonobo_corba_object_type_register_static ()

    GType               bonobo_corba_object_type_register_static
                                                            (const gchar *name,
                                                             const CORBA_TypeCode tc,
                                                             gboolean is_bonobo_unknown);

`name` : |
`tc` : |
`is_bonobo_unknown` : |
Returns : |

### BONOBO_TYPE_UNKNOWN

    #define BONOBO_TYPE_UNKNOWN                         (bonobo_unknown_get_type ())

A GType for Bonobo_Unknown object references.

### BONOBO_TYPE_CORBA_ANY

    #define BONOBO_TYPE_CORBA_ANY                       (bonobo_corba_any_get_type ())

A GType for CORBA_any.

### BONOBO_TYPE_CORBA_OBJECT

    #define BONOBO_TYPE_CORBA_OBJECT                    (bonobo_corba_object_get_type ())

A GType for CORBA_Object object references.

### BONOBO_TYPE_CORBA_TYPECODE

    #define BONOBO_TYPE_CORBA_TYPECODE                  (bonobo_corba_typecode_get_type ())

A GType for CORBA_TypeCode.

### BONOBO_TYPE_CORBA_EXCEPTION

    #define BONOBO_TYPE_CORBA_EXCEPTION                 (bonobo_corba_exception_get_type ())

A GType for CORBA_Environment.

### BONOBO_TYPE_STATIC_CORBA_EXCEPTION

    #define BONOBO_TYPE_STATIC_CORBA_EXCEPTION          (bonobo_corba_exception_get_type () | G_SIGNAL_TYPE_STATIC_SCOPE)

A GType for CORBA_Environment with static scope (see G_SIGNAL_TYPE_STATIC_SCOPE).

### BONOBO_TYPE_STATIC_UNKNOWN

    #define BONOBO_TYPE_STATIC_UNKNOWN                  (bonobo_unknown_get_type () | G_SIGNAL_TYPE_STATIC_SCOPE)

A GType for Bonobo_Unknown object references with static scope (see G_SIGNAL_TYPE_STATIC_SCOPE).

### BONOBO_TYPE_STATIC_CORBA_ANY

    #define BONOBO_TYPE_STATIC_CORBA_ANY                (bonobo_corba_any_get_type () | G_SIGNAL_TYPE_STATIC_SCOPE)

A GType for CORBA_any with static scope (see G_SIGNAL_TYPE_STATIC_SCOPE).

### BONOBO_TYPE_STATIC_CORBA_OBJECT

    #define BONOBO_TYPE_STATIC_CORBA_OBJECT             (bonobo_corba_object_get_type () | G_SIGNAL_TYPE_STATIC_SCOPE)

A GType for CORBA_Object object references with static scope (see G_SIGNAL_TYPE_STATIC_SCOPE).

### BONOBO_TYPE_STATIC_CORBA_TYPECODE

    #define BONOBO_TYPE_STATIC_CORBA_TYPECODE           (bonobo_corba_typecode_get_type () | G_SIGNAL_TYPE_STATIC_SCOPE)

A GType for CORBA_TypeCode object references with static scope (see G_SIGNAL_TYPE_STATIC_SCOPE).

### BONOBO_VALUE_HOLDS_UNKNOWN()

    #define BONOBO_VALUE_HOLDS_UNKNOWN(value)           (G_TYPE_CHECK_VALUE_TYPE ((value), BONOBO_TYPE_UNKNOWN))

Returns true if the GValue contains a Bonobo_Unknown.

`value` : |

### BONOBO_VALUE_HOLDS_CORBA_ANY()

    #define BONOBO_VALUE_HOLDS_CORBA_ANY(value)         (G_TYPE_CHECK_VALUE_TYPE ((value), BONOBO_TYPE_CORBA_ANY))

Returns true if the GValue contains a CORBA_any.

`value` : |

### BONOBO_VALUE_HOLDS_CORBA_OBJECT()

    #define BONOBO_VALUE_HOLDS_CORBA_OBJECT(value)      (G_TYPE_CHECK_VALUE_TYPE ((value), BONOBO_TYPE_CORBA_OBJECT))

Returns true if the GValue contains a CORBA_Object.

`value` : |

### BONOBO_VALUE_HOLDS_CORBA_TYPECODE()

    #define BONOBO_VALUE_HOLDS_CORBA_TYPECODE(value)    (G_TYPE_CHECK_VALUE_TYPE ((value), BONOBO_TYPE_CORBA_TYPECODE))

Returns true if the GValue contains a CORBA_TypeCode.

`value` : |

### BONOBO_VALUE_HOLDS_CORBA_EXCEPTION()

    #define BONOBO_VALUE_HOLDS_CORBA_EXCEPTION(value)   (G_TYPE_CHECK_VALUE_TYPE ((value), BONOBO_TYPE_CORBA_EXCEPTION))

Returns true if the GValue contains a CORBA_Environment.

`value` : |

### bonobo_value_get_unknown ()

    Bonobo_Unknown      bonobo_value_get_unknown            (const GValue *value);

Get the Bonobo_Unknown value from a GValue.

`value` : |
Returns : |

### bonobo_value_get_corba_any ()

    BonoboArg *         bonobo_value_get_corba_any          (const GValue *value);

Get the CORBA_any value from a GValue.

`value` : |
Returns : |

### bonobo_value_get_corba_object ()

    CORBA_Object        bonobo_value_get_corba_object       (const GValue *value);

Get the CORBA_Object value from a GValue.

`value` : |
Returns : |

### bonobo_value_get_corba_typecode ()

    CORBA_TypeCode      bonobo_value_get_corba_typecode     (const GValue *value);

Get the CORBA_TypeCode value from a GValue.

`value` : |
Returns : |

### bonobo_value_get_corba_exception ()

    const CORBA_Environment * bonobo_value_get_corba_exception
                                                            (const GValue *value);

Get the CORBA_Environment value from a GValue.

`value` : |
Returns : |

### bonobo_value_set_unknown ()

    void                bonobo_value_set_unknown            (GValue *value,
                                                             const Bonobo_Unknown unknown);

Put a Bonobo_Unknow value in a GValue.

`value` : |
`unknown` : |

### bonobo_value_set_corba_any ()

    void                bonobo_value_set_corba_any          (GValue *value,
                                                             const CORBA_any *any);

Put a CORBA_any value in a GValue.

`value` : |
`any` : |

### bonobo_value_set_corba_object ()

    void                bonobo_value_set_corba_object       (GValue *value,
                                                             const CORBA_Object object);

Put a CORBA_Object value in a GValue.

`value` : |
`object` : |

### bonobo_value_set_corba_typecode ()

    void                bonobo_value_set_corba_typecode     (GValue *value,
                                                             const CORBA_TypeCode tc);

Put a CORBA_TypeCode value in a GValue.

`value` : |
`tc` : |

### bonobo_value_set_corba_environment ()

    void                bonobo_value_set_corba_environment  (GValue *value,
                                                             const CORBA_Environment *ev);

Put a CORBA_Environment value in a GValue.

`value` : |
`ev` : |

### bonobo_closure_invoke_va_list ()

    void                bonobo_closure_invoke_va_list       (GClosure *closure,
                                                             GValue *return_value,
                                                             va_list var_args);

`closure` : |
`return_value` : |
`var_args` : |

### bonobo_closure_invoke ()

    void                bonobo_closure_invoke               (GClosure *closure,
                                                             GType return_type,
                                                             ...);

Invokes the closure with the arguments.

Examples:

    1
    bonobo_closure_invoke (closure, G_TYPE_NONE, G_TYPE_INT, first_arg, 0);

    1
    2
    glong retval;
    bonobo_closure_invoke (closure, G_TYPE_LONG, & retval, 0);

`closure` : | a standard GClosure
`return_type` : | the type of the first va_arg argument in a set of type / arg pairs.
`...` : | list of type / arg pairs

### bonobo_closure_store ()

    GClosure *          bonobo_closure_store                (GClosure *closure,
                                                             GClosureMarshal default_marshal);

Does the necessary refcounting magic and returns a directly storable closure

`closure` : | a standard GClosure
`default_marshal` : | the default marshaller to use
Returns : | `closure`.