PIKApp/libpika/pikagpparams.h

48 lines
2.1 KiB
C

/* LIBPIKA - The PIKA Library
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
*
* pikagpparams.h
* Copyright (C) 2019 Michael Natterer <mitch@gimp.org>
*
* This library is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see
* <https://www.gnu.org/licenses/>.
*/
#ifndef __PIKA_GP_PARAMS_H__
#define __PIKA_GP_PARAMS_H__
G_BEGIN_DECLS
GParamSpec * _pika_gp_param_def_to_param_spec (const GPParamDef *param_def);
void _pika_param_spec_to_gp_param_def (GParamSpec *pspec,
GPParamDef *param_def);
PikaValueArray * _pika_gp_params_to_value_array (gpointer pika,
GParamSpec **pspecs,
gint n_pspecs,
const GPParam *params,
gint n_params,
gboolean return_values);
GPParam * _pika_value_array_to_gp_params (const PikaValueArray *args,
gboolean full_copy);
void _pika_gp_params_free (GPParam *params,
gint n_params,
gboolean full_copy);
G_END_DECLS
#endif /* __PIKA_GP_PARAMS_H__ */