Blame gobject/gparamspecs.h

Packit ae235b
/* GObject - GLib Type, Object, Parameter and Signal Library
Packit ae235b
 * Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
Packit ae235b
 *
Packit ae235b
 * This library is free software; you can redistribute it and/or
Packit ae235b
 * modify it under the terms of the GNU Lesser General Public
Packit ae235b
 * License as published by the Free Software Foundation; either
Packit ae235b
 * version 2.1 of the License, or (at your option) any later version.
Packit ae235b
 *
Packit ae235b
 * This library is distributed in the hope that it will be useful,
Packit ae235b
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit ae235b
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit ae235b
 * Lesser General Public License for more details.
Packit ae235b
 *
Packit ae235b
 * You should have received a copy of the GNU Lesser General
Packit ae235b
 * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
Packit ae235b
 *
Packit ae235b
 * gparamspecs.h: GLib default param specs
Packit ae235b
 */
Packit ae235b
#ifndef __G_PARAMSPECS_H__
Packit ae235b
#define __G_PARAMSPECS_H__
Packit ae235b
Packit ae235b
#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
Packit ae235b
#error "Only <glib-object.h> can be included directly."
Packit ae235b
#endif
Packit ae235b
Packit ae235b
#include        <gobject/gvalue.h>
Packit ae235b
#include        <gobject/genums.h>
Packit ae235b
#include        <gobject/gboxed.h>
Packit ae235b
#include        <gobject/gobject.h>
Packit ae235b
Packit ae235b
G_BEGIN_DECLS
Packit ae235b
Packit ae235b
/* --- type macros --- */
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_CHAR:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecChar.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_CHAR		   (g_param_spec_types[0])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_CHAR:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_CHAR.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_CHAR(pspec)        (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_CHAR))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_CHAR:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Cast a #GParamSpec instance into a #GParamSpecChar.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_CHAR(pspec)           (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_CHAR, GParamSpecChar))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_UCHAR:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecUChar.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_UCHAR		   (g_param_spec_types[1])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_UCHAR:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_UCHAR.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_UCHAR(pspec)       (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UCHAR))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_UCHAR:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Cast a #GParamSpec instance into a #GParamSpecUChar.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_UCHAR(pspec)          (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UCHAR, GParamSpecUChar))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_BOOLEAN:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecBoolean.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_BOOLEAN		   (g_param_spec_types[2])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_BOOLEAN:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_BOOLEAN.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_BOOLEAN(pspec)     (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_BOOLEAN))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_BOOLEAN:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Cast a #GParamSpec instance into a #GParamSpecBoolean.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_BOOLEAN(pspec)        (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_BOOLEAN, GParamSpecBoolean))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_INT:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecInt.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_INT		   (g_param_spec_types[3])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_INT:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_INT.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_INT(pspec)         (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_INT))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_INT:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Cast a #GParamSpec instance into a #GParamSpecInt.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_INT(pspec)            (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_INT, GParamSpecInt))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_UINT:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecUInt.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_UINT		   (g_param_spec_types[4])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_UINT:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_UINT.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_UINT(pspec)        (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UINT))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_UINT:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Cast a #GParamSpec instance into a #GParamSpecUInt.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_UINT(pspec)           (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UINT, GParamSpecUInt))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_LONG:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecLong.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_LONG		   (g_param_spec_types[5])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_LONG:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_LONG.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_LONG(pspec)        (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_LONG))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_LONG:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Cast a #GParamSpec instance into a #GParamSpecLong.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_LONG(pspec)           (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_LONG, GParamSpecLong))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_ULONG:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecULong.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_ULONG		   (g_param_spec_types[6])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_ULONG:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_ULONG.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_ULONG(pspec)       (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ULONG))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_ULONG:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Cast a #GParamSpec instance into a #GParamSpecULong.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_ULONG(pspec)          (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ULONG, GParamSpecULong))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_INT64:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecInt64.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_INT64		   (g_param_spec_types[7])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_INT64:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_INT64.
Packit ae235b
 *
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_INT64(pspec)       (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_INT64))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_INT64:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Cast a #GParamSpec instance into a #GParamSpecInt64.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_INT64(pspec)          (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_INT64, GParamSpecInt64))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_UINT64:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecUInt64.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_UINT64		   (g_param_spec_types[8])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_UINT64:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_UINT64.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_UINT64(pspec)      (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UINT64))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_UINT64:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Cast a #GParamSpec instance into a #GParamSpecUInt64.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_UINT64(pspec)         (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UINT64, GParamSpecUInt64))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_UNICHAR:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecUnichar.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_UNICHAR		   (g_param_spec_types[9])
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_UNICHAR:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Cast a #GParamSpec instance into a #GParamSpecUnichar.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_UNICHAR(pspec)        (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UNICHAR, GParamSpecUnichar))
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_UNICHAR:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_UNICHAR.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_UNICHAR(pspec)     (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UNICHAR))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_ENUM:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecEnum.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_ENUM		   (g_param_spec_types[10])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_ENUM:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_ENUM.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_ENUM(pspec)        (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ENUM))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_ENUM:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Cast a #GParamSpec instance into a #GParamSpecEnum.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_ENUM(pspec)           (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ENUM, GParamSpecEnum))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_FLAGS:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecFlags.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_FLAGS		   (g_param_spec_types[11])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_FLAGS:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_FLAGS.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_FLAGS(pspec)       (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLAGS))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_FLAGS:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Cast a #GParamSpec instance into a #GParamSpecFlags.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_FLAGS(pspec)          (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLAGS, GParamSpecFlags))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_FLOAT:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecFloat.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_FLOAT		   (g_param_spec_types[12])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_FLOAT:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_FLOAT.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_FLOAT(pspec)       (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLOAT))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_FLOAT:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Cast a #GParamSpec instance into a #GParamSpecFloat.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_FLOAT(pspec)          (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLOAT, GParamSpecFloat))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_DOUBLE:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecDouble.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_DOUBLE		   (g_param_spec_types[13])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_DOUBLE:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_DOUBLE.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_DOUBLE(pspec)      (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_DOUBLE))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_DOUBLE:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Cast a #GParamSpec instance into a #GParamSpecDouble.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_DOUBLE(pspec)         (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_DOUBLE, GParamSpecDouble))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_STRING:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecString.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_STRING		   (g_param_spec_types[14])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_STRING:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_STRING.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_STRING(pspec)      (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_STRING))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_STRING:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Casts a #GParamSpec instance into a #GParamSpecString.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_STRING(pspec)         (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_STRING, GParamSpecString))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_PARAM:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecParam.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_PARAM		   (g_param_spec_types[15])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_PARAM:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_PARAM.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_PARAM(pspec)       (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_PARAM))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_PARAM:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Casts a #GParamSpec instance into a #GParamSpecParam.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_PARAM(pspec)          (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_PARAM, GParamSpecParam))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_BOXED:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecBoxed.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_BOXED		   (g_param_spec_types[16])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_BOXED:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_BOXED.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_BOXED(pspec)       (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_BOXED))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_BOXED:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Cast a #GParamSpec instance into a #GParamSpecBoxed.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_BOXED(pspec)          (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_BOXED, GParamSpecBoxed))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_POINTER:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecPointer.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_POINTER		   (g_param_spec_types[17])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_POINTER:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_POINTER.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_POINTER(pspec)     (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_POINTER))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_POINTER:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Casts a #GParamSpec instance into a #GParamSpecPointer.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_POINTER(pspec)        (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_POINTER, GParamSpecPointer))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_VALUE_ARRAY:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecValueArray.
Packit ae235b
 *
Packit ae235b
 * Deprecated: 2.32: Use #GArray instead of #GValueArray
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_VALUE_ARRAY	   (g_param_spec_types[18])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_VALUE_ARRAY:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_VALUE_ARRAY.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 *
Packit ae235b
 * Deprecated: 2.32: Use #GArray instead of #GValueArray
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_VALUE_ARRAY(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_VALUE_ARRAY))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_VALUE_ARRAY:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Cast a #GParamSpec instance into a #GParamSpecValueArray.
Packit ae235b
 *
Packit ae235b
 * Deprecated: 2.32: Use #GArray instead of #GValueArray
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_VALUE_ARRAY(pspec)    (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_VALUE_ARRAY, GParamSpecValueArray))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_OBJECT:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecObject.
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_OBJECT		   (g_param_spec_types[19])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_OBJECT:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_OBJECT.
Packit ae235b
 * 
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_OBJECT(pspec)      (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_OBJECT))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_OBJECT:
Packit ae235b
 * @pspec: a valid #GParamSpec instance
Packit ae235b
 * 
Packit ae235b
 * Casts a #GParamSpec instance into a #GParamSpecObject.
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_OBJECT(pspec)         (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_OBJECT, GParamSpecObject))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_OVERRIDE:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecOverride.
Packit ae235b
 * 
Packit ae235b
 * Since: 2.4
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_OVERRIDE		   (g_param_spec_types[20])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_OVERRIDE:
Packit ae235b
 * @pspec: a #GParamSpec
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_OVERRIDE.
Packit ae235b
 * 
Packit ae235b
 * Since: 2.4
Packit ae235b
 * Returns: %TRUE on success.
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_OVERRIDE(pspec)    (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_OVERRIDE))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_OVERRIDE:
Packit ae235b
 * @pspec: a #GParamSpec
Packit ae235b
 * 
Packit ae235b
 * Casts a #GParamSpec into a #GParamSpecOverride.
Packit ae235b
 * 
Packit ae235b
 * Since: 2.4
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_OVERRIDE(pspec)       (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_OVERRIDE, GParamSpecOverride))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_GTYPE:
Packit ae235b
 * 
Packit ae235b
 * The #GType of #GParamSpecGType.
Packit ae235b
 * 
Packit ae235b
 * Since: 2.10
Packit ae235b
 */
Packit ae235b
#define	G_TYPE_PARAM_GTYPE		   (g_param_spec_types[21])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_GTYPE:
Packit ae235b
 * @pspec: a #GParamSpec
Packit ae235b
 * 
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_GTYPE.
Packit ae235b
 * 
Packit ae235b
 * Since: 2.10
Packit ae235b
 * Returns: %TRUE on success. 
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_GTYPE(pspec)       (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_GTYPE))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_GTYPE:
Packit ae235b
 * @pspec: a #GParamSpec
Packit ae235b
 * 
Packit ae235b
 * Casts a #GParamSpec into a #GParamSpecGType.
Packit ae235b
 * 
Packit ae235b
 * Since: 2.10
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_GTYPE(pspec)          (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_GTYPE, GParamSpecGType))
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * G_TYPE_PARAM_VARIANT:
Packit ae235b
 *
Packit ae235b
 * The #GType of #GParamSpecVariant.
Packit ae235b
 *
Packit ae235b
 * Since: 2.26
Packit ae235b
 */
Packit ae235b
#define G_TYPE_PARAM_VARIANT                (g_param_spec_types[22])
Packit ae235b
/**
Packit ae235b
 * G_IS_PARAM_SPEC_VARIANT:
Packit ae235b
 * @pspec: a #GParamSpec
Packit ae235b
 *
Packit ae235b
 * Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_VARIANT.
Packit ae235b
 *
Packit ae235b
 * Returns: %TRUE on success
Packit ae235b
 *
Packit ae235b
 * Since: 2.26
Packit ae235b
 */
Packit ae235b
#define G_IS_PARAM_SPEC_VARIANT(pspec)      (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_VARIANT))
Packit ae235b
/**
Packit ae235b
 * G_PARAM_SPEC_VARIANT:
Packit ae235b
 * @pspec: a #GParamSpec
Packit ae235b
 *
Packit ae235b
 * Casts a #GParamSpec into a #GParamSpecVariant.
Packit ae235b
 *
Packit ae235b
 * Since: 2.26
Packit ae235b
 */
Packit ae235b
#define G_PARAM_SPEC_VARIANT(pspec)         (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_VARIANT, GParamSpecVariant))
Packit ae235b
Packit ae235b
/* --- typedefs & structures --- */
Packit ae235b
typedef struct _GParamSpecChar       GParamSpecChar;
Packit ae235b
typedef struct _GParamSpecUChar      GParamSpecUChar;
Packit ae235b
typedef struct _GParamSpecBoolean    GParamSpecBoolean;
Packit ae235b
typedef struct _GParamSpecInt        GParamSpecInt;
Packit ae235b
typedef struct _GParamSpecUInt       GParamSpecUInt;
Packit ae235b
typedef struct _GParamSpecLong       GParamSpecLong;
Packit ae235b
typedef struct _GParamSpecULong      GParamSpecULong;
Packit ae235b
typedef struct _GParamSpecInt64      GParamSpecInt64;
Packit ae235b
typedef struct _GParamSpecUInt64     GParamSpecUInt64;
Packit ae235b
typedef struct _GParamSpecUnichar    GParamSpecUnichar;
Packit ae235b
typedef struct _GParamSpecEnum       GParamSpecEnum;
Packit ae235b
typedef struct _GParamSpecFlags      GParamSpecFlags;
Packit ae235b
typedef struct _GParamSpecFloat      GParamSpecFloat;
Packit ae235b
typedef struct _GParamSpecDouble     GParamSpecDouble;
Packit ae235b
typedef struct _GParamSpecString     GParamSpecString;
Packit ae235b
typedef struct _GParamSpecParam      GParamSpecParam;
Packit ae235b
typedef struct _GParamSpecBoxed      GParamSpecBoxed;
Packit ae235b
typedef struct _GParamSpecPointer    GParamSpecPointer;
Packit ae235b
typedef struct _GParamSpecValueArray GParamSpecValueArray;
Packit ae235b
typedef struct _GParamSpecObject     GParamSpecObject;
Packit ae235b
typedef struct _GParamSpecOverride   GParamSpecOverride;
Packit ae235b
typedef struct _GParamSpecGType      GParamSpecGType;
Packit ae235b
typedef struct _GParamSpecVariant    GParamSpecVariant;
Packit ae235b
Packit ae235b
/**
Packit ae235b
 * GParamSpecChar:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * @minimum: minimum value for the property specified
Packit ae235b
 * @maximum: maximum value for the property specified
Packit ae235b
 * @default_value: default value for the property specified
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for character properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecChar
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  
Packit ae235b
  gint8         minimum;
Packit ae235b
  gint8         maximum;
Packit ae235b
  gint8         default_value;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecUChar:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * @minimum: minimum value for the property specified
Packit ae235b
 * @maximum: maximum value for the property specified
Packit ae235b
 * @default_value: default value for the property specified
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for unsigned character properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecUChar
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  
Packit ae235b
  guint8        minimum;
Packit ae235b
  guint8        maximum;
Packit ae235b
  guint8        default_value;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecBoolean:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * @default_value: default value for the property specified
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for boolean properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecBoolean
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  
Packit ae235b
  gboolean      default_value;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecInt:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * @minimum: minimum value for the property specified
Packit ae235b
 * @maximum: maximum value for the property specified
Packit ae235b
 * @default_value: default value for the property specified
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for integer properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecInt
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  
Packit ae235b
  gint          minimum;
Packit ae235b
  gint          maximum;
Packit ae235b
  gint          default_value;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecUInt:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * @minimum: minimum value for the property specified
Packit ae235b
 * @maximum: maximum value for the property specified
Packit ae235b
 * @default_value: default value for the property specified
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for unsigned integer properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecUInt
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  
Packit ae235b
  guint         minimum;
Packit ae235b
  guint         maximum;
Packit ae235b
  guint         default_value;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecLong:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * @minimum: minimum value for the property specified
Packit ae235b
 * @maximum: maximum value for the property specified
Packit ae235b
 * @default_value: default value for the property specified
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for long integer properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecLong
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  
Packit ae235b
  glong         minimum;
Packit ae235b
  glong         maximum;
Packit ae235b
  glong         default_value;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecULong:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * @minimum: minimum value for the property specified
Packit ae235b
 * @maximum: maximum value for the property specified
Packit ae235b
 * @default_value: default value for the property specified
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for unsigned long integer properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecULong
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  
Packit ae235b
  gulong        minimum;
Packit ae235b
  gulong        maximum;
Packit ae235b
  gulong        default_value;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecInt64:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * @minimum: minimum value for the property specified
Packit ae235b
 * @maximum: maximum value for the property specified
Packit ae235b
 * @default_value: default value for the property specified
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for 64bit integer properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecInt64
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  
Packit ae235b
  gint64        minimum;
Packit ae235b
  gint64        maximum;
Packit ae235b
  gint64        default_value;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecUInt64:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * @minimum: minimum value for the property specified
Packit ae235b
 * @maximum: maximum value for the property specified
Packit ae235b
 * @default_value: default value for the property specified
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for unsigned 64bit integer properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecUInt64
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  
Packit ae235b
  guint64       minimum;
Packit ae235b
  guint64       maximum;
Packit ae235b
  guint64       default_value;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecUnichar:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * @default_value: default value for the property specified
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for unichar (unsigned integer) properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecUnichar
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  
Packit ae235b
  gunichar      default_value;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecEnum:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * @enum_class: the #GEnumClass for the enum
Packit ae235b
 * @default_value: default value for the property specified
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for enum 
Packit ae235b
 * properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecEnum
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  
Packit ae235b
  GEnumClass   *enum_class;
Packit ae235b
  gint          default_value;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecFlags:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * @flags_class: the #GFlagsClass for the flags
Packit ae235b
 * @default_value: default value for the property specified
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for flags
Packit ae235b
 * properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecFlags
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  
Packit ae235b
  GFlagsClass  *flags_class;
Packit ae235b
  guint         default_value;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecFloat:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * @minimum: minimum value for the property specified
Packit ae235b
 * @maximum: maximum value for the property specified
Packit ae235b
 * @default_value: default value for the property specified
Packit ae235b
 * @epsilon: values closer than @epsilon will be considered identical
Packit ae235b
 *  by g_param_values_cmp(); the default value is 1e-30.
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for float properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecFloat
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  
Packit ae235b
  gfloat        minimum;
Packit ae235b
  gfloat        maximum;
Packit ae235b
  gfloat        default_value;
Packit ae235b
  gfloat        epsilon;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecDouble:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * @minimum: minimum value for the property specified
Packit ae235b
 * @maximum: maximum value for the property specified
Packit ae235b
 * @default_value: default value for the property specified
Packit ae235b
 * @epsilon: values closer than @epsilon will be considered identical
Packit ae235b
 *  by g_param_values_cmp(); the default value is 1e-90.
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for double properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecDouble
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  
Packit ae235b
  gdouble       minimum;
Packit ae235b
  gdouble       maximum;
Packit ae235b
  gdouble       default_value;
Packit ae235b
  gdouble       epsilon;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecString:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * @default_value: default value for the property specified
Packit ae235b
 * @cset_first: a string containing the allowed values for the first byte
Packit ae235b
 * @cset_nth: a string containing the allowed values for the subsequent bytes
Packit ae235b
 * @substitutor: the replacement byte for bytes which don't match @cset_first or @cset_nth.
Packit ae235b
 * @null_fold_if_empty: replace empty string by %NULL
Packit ae235b
 * @ensure_non_null: replace %NULL strings by an empty string
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for string
Packit ae235b
 * properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecString
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  
Packit ae235b
  gchar        *default_value;
Packit ae235b
  gchar        *cset_first;
Packit ae235b
  gchar        *cset_nth;
Packit ae235b
  gchar         substitutor;
Packit ae235b
  guint         null_fold_if_empty : 1;
Packit ae235b
  guint         ensure_non_null : 1;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecParam:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for %G_TYPE_PARAM
Packit ae235b
 * properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecParam
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecBoxed:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for boxed properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecBoxed
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecPointer:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for pointer properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecPointer
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecValueArray:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * @element_spec: a #GParamSpec describing the elements contained in arrays of this property, may be %NULL
Packit ae235b
 * @fixed_n_elements: if greater than 0, arrays of this property will always have this many elements
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for #GValueArray properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecValueArray
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  GParamSpec   *element_spec;
Packit ae235b
  guint		fixed_n_elements;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecObject:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for object properties.
Packit ae235b
 */
Packit ae235b
struct _GParamSpecObject
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecOverride:
Packit ae235b
 * 
Packit ae235b
 * This is a type of #GParamSpec type that simply redirects operations to
Packit ae235b
 * another paramspec.  All operations other than getting or
Packit ae235b
 * setting the value are redirected, including accessing the nick and
Packit ae235b
 * blurb, validating a value, and so forth. See
Packit ae235b
 * g_param_spec_get_redirect_target() for retrieving the overidden
Packit ae235b
 * property. #GParamSpecOverride is used in implementing
Packit ae235b
 * g_object_class_override_property(), and will not be directly useful
Packit ae235b
 * unless you are implementing a new base type similar to GObject.
Packit ae235b
 * 
Packit ae235b
 * Since: 2.4
Packit ae235b
 */
Packit ae235b
struct _GParamSpecOverride
Packit ae235b
{
Packit ae235b
  /*< private >*/
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  GParamSpec   *overridden;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecGType:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * @is_a_type: a #GType whose subtypes can occur as values
Packit ae235b
 * 
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for #GType properties.
Packit ae235b
 * 
Packit ae235b
 * Since: 2.10
Packit ae235b
 */
Packit ae235b
struct _GParamSpecGType
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  GType         is_a_type;
Packit ae235b
};
Packit ae235b
/**
Packit ae235b
 * GParamSpecVariant:
Packit ae235b
 * @parent_instance: private #GParamSpec portion
Packit ae235b
 * @type: a #GVariantType, or %NULL
Packit ae235b
 * @default_value: a #GVariant, or %NULL
Packit ae235b
 *
Packit ae235b
 * A #GParamSpec derived structure that contains the meta data for #GVariant properties.
Packit ae235b
 *
Packit ae235b
 * Since: 2.26
Packit ae235b
 */
Packit ae235b
struct _GParamSpecVariant
Packit ae235b
{
Packit ae235b
  GParamSpec    parent_instance;
Packit ae235b
  GVariantType *type;
Packit ae235b
  GVariant     *default_value;
Packit ae235b
Packit ae235b
  /*< private >*/
Packit ae235b
  gpointer      padding[4];
Packit ae235b
};
Packit ae235b
Packit ae235b
/* --- GParamSpec prototypes --- */
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_char	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  gint8		  minimum,
Packit ae235b
					  gint8		  maximum,
Packit ae235b
					  gint8		  default_value,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_uchar	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  guint8	  minimum,
Packit ae235b
					  guint8	  maximum,
Packit ae235b
					  guint8	  default_value,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_boolean	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  gboolean	  default_value,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_int	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  gint		  minimum,
Packit ae235b
					  gint		  maximum,
Packit ae235b
					  gint		  default_value,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_uint	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  guint		  minimum,
Packit ae235b
					  guint		  maximum,
Packit ae235b
					  guint		  default_value,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_long	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  glong		  minimum,
Packit ae235b
					  glong		  maximum,
Packit ae235b
					  glong		  default_value,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_ulong	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  gulong	  minimum,
Packit ae235b
					  gulong	  maximum,
Packit ae235b
					  gulong	  default_value,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_int64	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  gint64       	  minimum,
Packit ae235b
					  gint64       	  maximum,
Packit ae235b
					  gint64       	  default_value,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_uint64	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  guint64	  minimum,
Packit ae235b
					  guint64	  maximum,
Packit ae235b
					  guint64	  default_value,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_unichar      (const gchar    *name,
Packit ae235b
				          const gchar    *nick,
Packit ae235b
				          const gchar    *blurb,
Packit ae235b
				          gunichar	  default_value,
Packit ae235b
				          GParamFlags     flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_enum	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  GType		  enum_type,
Packit ae235b
					  gint		  default_value,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_flags	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  GType		  flags_type,
Packit ae235b
					  guint		  default_value,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_float	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  gfloat	  minimum,
Packit ae235b
					  gfloat	  maximum,
Packit ae235b
					  gfloat	  default_value,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_double	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  gdouble	  minimum,
Packit ae235b
					  gdouble	  maximum,
Packit ae235b
					  gdouble	  default_value,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_string	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  const gchar	 *default_value,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_param	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  GType		  param_type,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_boxed	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  GType		  boxed_type,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_pointer	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_value_array (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  GParamSpec	 *element_spec,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_object	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  GType		  object_type,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_override    (const gchar    *name,
Packit ae235b
					  GParamSpec     *overridden);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_gtype	 (const gchar	 *name,
Packit ae235b
					  const gchar	 *nick,
Packit ae235b
					  const gchar	 *blurb,
Packit ae235b
					  GType           is_a_type,
Packit ae235b
					  GParamFlags	  flags);
Packit ae235b
GLIB_AVAILABLE_IN_ALL
Packit ae235b
GParamSpec*	g_param_spec_variant	 (const gchar        *name,
Packit ae235b
					  const gchar        *nick,
Packit ae235b
					  const gchar	     *blurb,
Packit ae235b
					  const GVariantType *type,
Packit ae235b
					  GVariant           *default_value,
Packit ae235b
					  GParamFlags         flags);
Packit ae235b
Packit ae235b
/* --- internal --- */
Packit ae235b
/* We prefix variable declarations so they can
Packit ae235b
 * properly get exported in windows dlls.
Packit ae235b
 */
Packit ae235b
#ifndef GOBJECT_VAR
Packit ae235b
#  ifdef G_PLATFORM_WIN32
Packit ae235b
#    ifdef GOBJECT_STATIC_COMPILATION
Packit ae235b
#      define GOBJECT_VAR extern
Packit ae235b
#    else /* !GOBJECT_STATIC_COMPILATION */
Packit ae235b
#      ifdef GOBJECT_COMPILATION
Packit ae235b
#        ifdef DLL_EXPORT
Packit ae235b
#          define GOBJECT_VAR __declspec(dllexport)
Packit ae235b
#        else /* !DLL_EXPORT */
Packit ae235b
#          define GOBJECT_VAR extern
Packit ae235b
#        endif /* !DLL_EXPORT */
Packit ae235b
#      else /* !GOBJECT_COMPILATION */
Packit ae235b
#        define GOBJECT_VAR extern __declspec(dllimport)
Packit ae235b
#      endif /* !GOBJECT_COMPILATION */
Packit ae235b
#    endif /* !GOBJECT_STATIC_COMPILATION */
Packit ae235b
#  else /* !G_PLATFORM_WIN32 */
Packit ae235b
#    define GOBJECT_VAR _GLIB_EXTERN
Packit ae235b
#  endif /* !G_PLATFORM_WIN32 */
Packit ae235b
#endif /* GOBJECT_VAR */
Packit ae235b
Packit ae235b
GOBJECT_VAR GType *g_param_spec_types;
Packit ae235b
Packit ae235b
G_END_DECLS
Packit ae235b
Packit ae235b
#endif /* __G_PARAMSPECS_H__ */