/* Returns: (transfer container) (element-type GObject.ParamSpec): a #GList of all #GParamSpecs owned by @owner_type in the pool::GParamSpecs.  */
GList* g_param_spec_pool_list_owned(GParamSpecPool *pool, GType owner_type)
/* Returns: (transfer container) (element-type GObject.ParamSpec): a #GList of all #GParamSpecs owned by @owner_type in the pool::GParamSpecs.  */
GList* g_param_spec_pool_list_owned(GParamSpecPool *pool, GType owner_type)
{
  gpointer data[2];
  g_return_val_if_fail (pool != NULL, NULL);
  g_return_val_if_fail (owner_type > 0, NULL);
  g_mutex_lock (&pool->mutex);
  data[0] = NULL;
  data[1] = (gpointer) owner_type;
  g_hash_table_foreach (pool->hash_table, pool_list, &data);
  g_mutex_unlock (&pool->mutex);
  return data[0];
}