Function

PurpleSignalMarshalFunc

since: 2.0

Declaration

void
(* PurpleSignalMarshalFunc) (
  GCallback cb,
  va_list args,
  void* data,
  void** return_val
)

Description [src]

A generic function pointer type used to register signals.

Available since: 2.0

This function is not directly available to language bindings.

Parameters

cb

Type: GCallback

The GCallback to call.

args

Type: va_list

The arguments to the function.

data

Type: void*

Userdata to pass to cb.

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

Type: void**

A return address for a return value.

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