Function

Purplesignal_get_types

Declaration [src]

void
purple_signal_get_types (
  void* instance,
  const char* signal,
  GType* ret_type,
  int* num_values,
  GType** param_types
)

Description [src]

Outputs a list of value types used for a signal through the ret_type, num_values and param_types out parameters.

Parameters

instance void*
 

The instance the signal is registered to.

 The argument can be NULL.
 The data is owned by the caller of the function.
signal const char*
 

The signal.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
ret_type GType*
 

The return type.

 The argument will be set by the function.
num_values int*
 

The returned number of parameters.

 The argument will be set by the function.
param_types GType**
 

The returned list of parameter types.

 The argument will be set by the function.
 The called function takes ownership of the data, and is responsible for freeing it.