/* Returns: (transfer none): paramspec to which requests on this paramspec should be redirected, or NULL if none.  */
GParamSpec* g_param_spec_get_redirect_target(GParamSpec *pspec)
/* Returns: (transfer none): paramspec to which requests on this paramspec should be redirected, or NULL if none.  */
GParamSpec* g_param_spec_get_redirect_target(GParamSpec *pspec)
{
  GTypeInstance *inst = (GTypeInstance *)pspec;
  if (inst && inst->g_class && inst->g_class->g_type == G_TYPE_PARAM_OVERRIDE)
    return ((GParamSpecOverride*)pspec)->overridden;
  else
    return NULL;
}