Libbonobo Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up |
GType bonobo_corba_object_type_register_static (const gchar *name, const CORBA_TypeCode tc, gboolean is_bonobo_unknown); |
#define BONOBO_VALUE_HOLDS_UNKNOWN(value) (G_TYPE_CHECK_VALUE_TYPE ((value), BONOBO_TYPE_UNKNOWN)) |
#define BONOBO_VALUE_HOLDS_CORBA_ANY(value) (G_TYPE_CHECK_VALUE_TYPE ((value), BONOBO_TYPE_CORBA_ANY)) |
#define BONOBO_VALUE_HOLDS_CORBA_OBJECT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), BONOBO_TYPE_CORBA_OBJECT)) |
#define BONOBO_VALUE_HOLDS_CORBA_TYPECODE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), BONOBO_TYPE_CORBA_TYPECODE)) |
#define BONOBO_VALUE_HOLDS_CORBA_EXCEPTION(value) (G_TYPE_CHECK_VALUE_TYPE ((value), BONOBO_TYPE_CORBA_EXCEPTION)) |
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_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, ...); |
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);
GClosure* bonobo_closure_store (GClosure *closure, GClosureMarshal default_marshal); |
Does the necessary refcounting magic and returns a directly storable closure