Function

Purplesignal_emit_return_1

since: 2.0

Declaration [src]

void*
purple_signal_emit_return_1 (
  void* instance,
  const char* signal,
  ...
)

Description [src]

Emits a signal and returns the first non-NULL return value.

Further signal handlers are NOT called after a handler returns something other than NULL.

Available since: 2.0

This function is not directly available to language bindings.

Parameters

instance

Type: void*

The instance emitting the signal.

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

Type: const char*

The signal being emitted.

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

Type: 

The arguments to pass to the callbacks.

Return value

Type: void*

The first non-NULL return value.

The data is owned by the called function.
The return value can be NULL.