gparamspecs.h   gparamspecs.h 
skipping to change at line 552 skipping to change at line 552
/** /**
* G_PARAM_SPEC_GTYPE: * G_PARAM_SPEC_GTYPE:
* @pspec: a #GParamSpec * @pspec: a #GParamSpec
* *
* Casts a #GParamSpec into a #GParamSpecGType. * Casts a #GParamSpec into a #GParamSpecGType.
* *
* Since: 2.10 * Since: 2.10
*/ */
#define G_PARAM_SPEC_GTYPE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((ps pec), G_TYPE_PARAM_GTYPE, GParamSpecGType)) #define G_PARAM_SPEC_GTYPE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((ps pec), G_TYPE_PARAM_GTYPE, GParamSpecGType))
/**
* G_TYPE_PARAM_VARIANT:
*
* The #GType of #GParamSpecVariant.
*
* Since: 2.26
*/
#define G_TYPE_PARAM_VARIANT (g_param_spec_types[22])
/**
* G_IS_PARAM_SPEC_VARIANT:
* @pspec: a #GParamSpec
*
* Checks whether the given #GParamSpec is of type %G_TYPE_PARAM_VARIANT.
*
* Returns: %TRUE on success
*
* Since: 2.26
*/
#define G_IS_PARAM_SPEC_VARIANT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((p
spec), G_TYPE_PARAM_VARIANT))
/**
* G_PARAM_SPEC_VARIANT:
* @pspec: a #GParamSpec
*
* Casts a #GParamSpec into a #GParamSpecVariant.
*
* Since: 2.26
*/
#define G_PARAM_SPEC_VARIANT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((p
spec), G_TYPE_PARAM_VARIANT, GParamSpecVariant))
/* --- typedefs & structures --- */ /* --- typedefs & structures --- */
typedef struct _GParamSpecChar GParamSpecChar; typedef struct _GParamSpecChar GParamSpecChar;
typedef struct _GParamSpecUChar GParamSpecUChar; typedef struct _GParamSpecUChar GParamSpecUChar;
typedef struct _GParamSpecBoolean GParamSpecBoolean; typedef struct _GParamSpecBoolean GParamSpecBoolean;
typedef struct _GParamSpecInt GParamSpecInt; typedef struct _GParamSpecInt GParamSpecInt;
typedef struct _GParamSpecUInt GParamSpecUInt; typedef struct _GParamSpecUInt GParamSpecUInt;
typedef struct _GParamSpecLong GParamSpecLong; typedef struct _GParamSpecLong GParamSpecLong;
typedef struct _GParamSpecULong GParamSpecULong; typedef struct _GParamSpecULong GParamSpecULong;
typedef struct _GParamSpecInt64 GParamSpecInt64; typedef struct _GParamSpecInt64 GParamSpecInt64;
typedef struct _GParamSpecUInt64 GParamSpecUInt64; typedef struct _GParamSpecUInt64 GParamSpecUInt64;
skipping to change at line 575 skipping to change at line 604
typedef struct _GParamSpecFloat GParamSpecFloat; typedef struct _GParamSpecFloat GParamSpecFloat;
typedef struct _GParamSpecDouble GParamSpecDouble; typedef struct _GParamSpecDouble GParamSpecDouble;
typedef struct _GParamSpecString GParamSpecString; typedef struct _GParamSpecString GParamSpecString;
typedef struct _GParamSpecParam GParamSpecParam; typedef struct _GParamSpecParam GParamSpecParam;
typedef struct _GParamSpecBoxed GParamSpecBoxed; typedef struct _GParamSpecBoxed GParamSpecBoxed;
typedef struct _GParamSpecPointer GParamSpecPointer; typedef struct _GParamSpecPointer GParamSpecPointer;
typedef struct _GParamSpecValueArray GParamSpecValueArray; typedef struct _GParamSpecValueArray GParamSpecValueArray;
typedef struct _GParamSpecObject GParamSpecObject; typedef struct _GParamSpecObject GParamSpecObject;
typedef struct _GParamSpecOverride GParamSpecOverride; typedef struct _GParamSpecOverride GParamSpecOverride;
typedef struct _GParamSpecGType GParamSpecGType; typedef struct _GParamSpecGType GParamSpecGType;
typedef struct _GParamSpecVariant GParamSpecVariant;
/** /**
* GParamSpecChar: * GParamSpecChar:
* @parent_instance: private #GParamSpec portion * @parent_instance: private #GParamSpec portion
* @minimum: minimum value for the property specified * @minimum: minimum value for the property specified
* @maximum: maximum value for the property specified * @maximum: maximum value for the property specified
* @default_value: default value for the property specified * @default_value: default value for the property specified
* *
* A #GParamSpec derived structure that contains the meta data for characte r properties. * A #GParamSpec derived structure that contains the meta data for characte r properties.
*/ */
skipping to change at line 923 skipping to change at line 953
* *
* A #GParamSpec derived structure that contains the meta data for #GType p roperties. * A #GParamSpec derived structure that contains the meta data for #GType p roperties.
* *
* Since: 2.10 * Since: 2.10
*/ */
struct _GParamSpecGType struct _GParamSpecGType
{ {
GParamSpec parent_instance; GParamSpec parent_instance;
GType is_a_type; GType is_a_type;
}; };
/**
* GParamSpecVariant:
* @parent_instance: private #GParamSpec portion
* @type: a #GVariantType, or %NULL
* @default_value: a #GVariant, or %NULL
*
* A #GParamSpec derived structure that contains the meta data for #GVarian
t properties.
*
* Since: 2.26
*/
struct _GParamSpecVariant
{
GParamSpec parent_instance;
GVariantType *type;
GVariant *default_value;
/*< private >*/
gpointer padding[4];
};
/* --- GParamSpec prototypes --- */ /* --- GParamSpec prototypes --- */
GParamSpec* g_param_spec_char (const gchar *name, GParamSpec* g_param_spec_char (const gchar *name,
const gchar *nick, const gchar *nick,
const gchar *blurb, const gchar *blurb,
gint8 minimum, gint8 minimum,
gint8 maximum, gint8 maximum,
gint8 default_value, gint8 default_value,
GParamFlags flags); GParamFlags flags);
GParamSpec* g_param_spec_uchar (const gchar *name, GParamSpec* g_param_spec_uchar (const gchar *name,
skipping to change at line 1053 skipping to change at line 1102
const gchar *blurb, const gchar *blurb,
GType object_type, GType object_type,
GParamFlags flags); GParamFlags flags);
GParamSpec* g_param_spec_override (const gchar *name, GParamSpec* g_param_spec_override (const gchar *name,
GParamSpec *overridden); GParamSpec *overridden);
GParamSpec* g_param_spec_gtype (const gchar *name, GParamSpec* g_param_spec_gtype (const gchar *name,
const gchar *nick, const gchar *nick,
const gchar *blurb, const gchar *blurb,
GType is_a_type, GType is_a_type,
GParamFlags flags); GParamFlags flags);
GParamSpec* g_param_spec_variant (const gchar *name,
const gchar *nick,
const gchar *blurb,
const GVariantType *type,
GVariant *default_value,
GParamFlags flags);
/* --- internal --- */ /* --- internal --- */
/* We prefix variable declarations so they can /* We prefix variable declarations so they can
* properly get exported in windows dlls. * properly get exported in windows dlls.
*/ */
#ifndef GOBJECT_VAR #ifndef GOBJECT_VAR
# ifdef G_PLATFORM_WIN32 # ifdef G_PLATFORM_WIN32
# ifdef GOBJECT_STATIC_COMPILATION # ifdef GOBJECT_STATIC_COMPILATION
# define GOBJECT_VAR extern # define GOBJECT_VAR extern
# else /* !GOBJECT_STATIC_COMPILATION */ # else /* !GOBJECT_STATIC_COMPILATION */
 End of changes. 4 change blocks. 
0 lines changed or deleted 58 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/