## bonobo-types

bonobo-types —

## Synopsis

    GType       bonobo_corba_object_type_register_static
                                                (const gchar *name,
                                                 const CORBA_TypeCode tc,
                                                 gboolean is_bonobo_unknown);
    GType       bonobo_unknown_get_type         (void);
    GType       bonobo_corba_any_get_type       (void);
    GType       bonobo_corba_object_get_type    (void);
    GType       bonobo_corba_typecode_get_type  (void);
    GType       bonobo_corba_exception_get_type (void);
    #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_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_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_unknown_get_type ()

    GType       bonobo_unknown_get_type         (void);

Returns : |

### bonobo_corba_any_get_type ()

    GType       bonobo_corba_any_get_type       (void);

Returns : |

### bonobo_corba_object_get_type ()

    GType       bonobo_corba_object_get_type    (void);

Returns : |

### bonobo_corba_typecode_get_type ()

    GType       bonobo_corba_typecode_get_type  (void);

Returns : |

### bonobo_corba_exception_get_type ()

    GType       bonobo_corba_exception_get_type (void);

Returns : |

### BONOBO_TYPE_UNKNOWN

    #define BONOBO_TYPE_UNKNOWN                         (bonobo_unknown_get_type ())

### BONOBO_TYPE_CORBA_ANY

    #define BONOBO_TYPE_CORBA_ANY                       (bonobo_corba_any_get_type ())

### BONOBO_TYPE_CORBA_OBJECT

    #define BONOBO_TYPE_CORBA_OBJECT                    (bonobo_corba_object_get_type ())

### BONOBO_TYPE_CORBA_TYPECODE

    #define BONOBO_TYPE_CORBA_TYPECODE                  (bonobo_corba_typecode_get_type ())

### BONOBO_TYPE_CORBA_EXCEPTION

    #define BONOBO_TYPE_CORBA_EXCEPTION                 (bonobo_corba_exception_get_type ())

### BONOBO_VALUE_HOLDS_UNKNOWN()

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

`value` : |

### BONOBO_VALUE_HOLDS_CORBA_ANY()

    #define BONOBO_VALUE_HOLDS_CORBA_ANY(value)         (G_TYPE_CHECK_VALUE_TYPE ((value), BONOBO_TYPE_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))

`value` : |

### BONOBO_VALUE_HOLDS_CORBA_TYPECODE()

    #define BONOBO_VALUE_HOLDS_CORBA_TYPECODE(value)    (G_TYPE_CHECK_VALUE_TYPE ((value), BONOBO_TYPE_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))

`value` : |

### bonobo_value_get_unknown ()

    Bonobo_Unknown bonobo_value_get_unknown     (const GValue *value);

`value` : |
Returns : |

### bonobo_value_get_corba_any ()

    BonoboArg*  bonobo_value_get_corba_any      (const GValue *value);

`value` : |
Returns : |

### bonobo_value_get_corba_object ()

    CORBA_Object bonobo_value_get_corba_object  (const GValue *value);

`value` : |
Returns : |

### bonobo_value_get_corba_typecode ()

    CORBA_TypeCode bonobo_value_get_corba_typecode
                                                (const GValue *value);

`value` : |
Returns : |

### bonobo_value_get_corba_exception ()

    const CORBA_Environment* bonobo_value_get_corba_exception
                                                (const GValue *value);

`value` : |
Returns : |

### bonobo_value_set_unknown ()

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

`value` : |
`unknown` : |

### bonobo_value_set_corba_any ()

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

`value` : |
`any` : |

### bonobo_value_set_corba_typecode ()

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

`value` : |
`tc` : |

### bonobo_value_set_corba_environment ()

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

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

Example:

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

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.
`...` : |

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