ParamSpec.setQdataFull

This function works like ParamSpec.setQdata, but in addition, a void (*destroy) (gpointer) function may be specified which is called with data as argument when the pspec is finalized, or the data is being overwritten by a call to ParamSpec.setQdata with the same quark.

class ParamSpec
void
setQdataFull

Parameters

quark GQuark

a GQuark, naming the user data pointer

data void*

an opaque user data pointer

destroy GDestroyNotify

function to invoke with data as argument, when data needs to be freed