bonobo-types

bonobo-types

Functions

Types and Values

Description

Functions

bonobo_corba_object_type_register_static ()

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

BONOBO_VALUE_HOLDS_UNKNOWN()

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

BONOBO_VALUE_HOLDS_CORBA_ANY()

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

BONOBO_VALUE_HOLDS_CORBA_OBJECT()

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

BONOBO_VALUE_HOLDS_CORBA_TYPECODE()

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

BONOBO_VALUE_HOLDS_CORBA_EXCEPTION()

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

bonobo_value_get_unknown ()

Bonobo_Unknown
bonobo_value_get_unknown (const GValue *value);

bonobo_value_get_corba_any ()

BonoboArg *
bonobo_value_get_corba_any (const GValue *value);

bonobo_value_get_corba_object ()

CORBA_Object
bonobo_value_get_corba_object (const GValue *value);

bonobo_value_get_corba_typecode ()

CORBA_TypeCode
bonobo_value_get_corba_typecode (const GValue *value);

bonobo_value_get_corba_exception ()

const CORBA_Environment *
bonobo_value_get_corba_exception (const GValue *value);

bonobo_value_set_unknown ()

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

bonobo_value_set_corba_any ()

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

bonobo_value_set_corba_object ()

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

bonobo_value_set_corba_typecode ()

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

bonobo_value_set_corba_environment ()

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

bonobo_closure_invoke_va_list ()

void
bonobo_closure_invoke_va_list (GClosure *closure,
                               GValue *return_value,
                               va_list 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);

Parameters

closure

a standard GClosure

 

return_type

the type of the first va_arg argument in a set of type / arg pairs.

 

Varargs

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

Parameters

closure

a standard GClosure

 

default_marshal

the default marshaller to use

 

Returns

closure .

Types and Values

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_TYPE_STATIC_CORBA_EXCEPTION

#define BONOBO_TYPE_STATIC_CORBA_EXCEPTION          (bonobo_corba_exception_get_type () | G_SIGNAL_TYPE_STATIC_SCOPE)

BONOBO_TYPE_STATIC_UNKNOWN

#define BONOBO_TYPE_STATIC_UNKNOWN                  (bonobo_unknown_get_type () | 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)

BONOBO_TYPE_STATIC_CORBA_OBJECT

#define BONOBO_TYPE_STATIC_CORBA_OBJECT             (bonobo_corba_object_get_type () | 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)