1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/ossrv_pub/gparamspec/inc/stdapis/glib-2.0/gobject/gparamspecs.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,444 @@
1.4 +/* GObject - GLib Type, Object, Parameter and Signal Library
1.5 + * Copyright (C) 1997-1999, 2000-2001 Tim Janik and Red Hat, Inc.
1.6 + * Portions copyright (c) 2006 Nokia Corporation. All rights reserved.
1.7 + *
1.8 + * This library is free software; you can redistribute it and/or
1.9 + * modify it under the terms of the GNU Lesser General Public
1.10 + * License as published by the Free Software Foundation; either
1.11 + * version 2 of the License, or (at your option) any later version.
1.12 + *
1.13 + * This library is distributed in the hope that it will be useful,
1.14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1.16 + * Lesser General Public License for more details.
1.17 + *
1.18 + * You should have received a copy of the GNU Lesser General
1.19 + * Public License along with this library; if not, write to the
1.20 + * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
1.21 + * Boston, MA 02111-1307, USA.
1.22 + *
1.23 + * gparamspecs.h: GLib default param specs
1.24 + */
1.25 +#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
1.26 +#error "Only <glib-object.h> can be included directly."
1.27 +#endif
1.28 +
1.29 +#ifndef __G_PARAMSPECS_H__
1.30 +#define __G_PARAMSPECS_H__
1.31 +
1.32 +#include <_ansi.h>
1.33 +#include <gobject/gvalue.h>
1.34 +#include <gobject/genums.h>
1.35 +#include <gobject/gboxed.h>
1.36 +#include <gobject/gobject.h>
1.37 +
1.38 +G_BEGIN_DECLS
1.39 +
1.40 +/* --- type macros --- */
1.41 +#define G_TYPE_PARAM_CHAR (g_param_spec_types[0])
1.42 +#define G_IS_PARAM_SPEC_CHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_CHAR))
1.43 +#define G_PARAM_SPEC_CHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_CHAR, GParamSpecChar))
1.44 +#define G_TYPE_PARAM_UCHAR (g_param_spec_types[1])
1.45 +#define G_IS_PARAM_SPEC_UCHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UCHAR))
1.46 +#define G_PARAM_SPEC_UCHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UCHAR, GParamSpecUChar))
1.47 +#define G_TYPE_PARAM_BOOLEAN (g_param_spec_types[2])
1.48 +#define G_IS_PARAM_SPEC_BOOLEAN(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_BOOLEAN))
1.49 +#define G_PARAM_SPEC_BOOLEAN(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_BOOLEAN, GParamSpecBoolean))
1.50 +#define G_TYPE_PARAM_INT (g_param_spec_types[3])
1.51 +#define G_IS_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_INT))
1.52 +#define G_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_INT, GParamSpecInt))
1.53 +#define G_TYPE_PARAM_UINT (g_param_spec_types[4])
1.54 +#define G_IS_PARAM_SPEC_UINT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UINT))
1.55 +#define G_PARAM_SPEC_UINT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UINT, GParamSpecUInt))
1.56 +#define G_TYPE_PARAM_LONG (g_param_spec_types[5])
1.57 +#define G_IS_PARAM_SPEC_LONG(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_LONG))
1.58 +#define G_PARAM_SPEC_LONG(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_LONG, GParamSpecLong))
1.59 +#define G_TYPE_PARAM_ULONG (g_param_spec_types[6])
1.60 +#define G_IS_PARAM_SPEC_ULONG(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ULONG))
1.61 +#define G_PARAM_SPEC_ULONG(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ULONG, GParamSpecULong))
1.62 +#define G_TYPE_PARAM_INT64 (g_param_spec_types[7])
1.63 +#define G_IS_PARAM_SPEC_INT64(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_INT64))
1.64 +#define G_PARAM_SPEC_INT64(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_INT64, GParamSpecInt64))
1.65 +#define G_TYPE_PARAM_UINT64 (g_param_spec_types[8])
1.66 +#define G_IS_PARAM_SPEC_UINT64(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UINT64))
1.67 +#define G_PARAM_SPEC_UINT64(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UINT64, GParamSpecUInt64))
1.68 +#define G_TYPE_PARAM_UNICHAR (g_param_spec_types[9])
1.69 +#define G_PARAM_SPEC_UNICHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UNICHAR, GParamSpecUnichar))
1.70 +#define G_IS_PARAM_SPEC_UNICHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UNICHAR))
1.71 +#define G_TYPE_PARAM_ENUM (g_param_spec_types[10])
1.72 +#define G_IS_PARAM_SPEC_ENUM(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ENUM))
1.73 +#define G_PARAM_SPEC_ENUM(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ENUM, GParamSpecEnum))
1.74 +#define G_TYPE_PARAM_FLAGS (g_param_spec_types[11])
1.75 +#define G_IS_PARAM_SPEC_FLAGS(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLAGS))
1.76 +#define G_PARAM_SPEC_FLAGS(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLAGS, GParamSpecFlags))
1.77 +#define G_TYPE_PARAM_FLOAT (g_param_spec_types[12])
1.78 +#define G_IS_PARAM_SPEC_FLOAT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLOAT))
1.79 +#define G_PARAM_SPEC_FLOAT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLOAT, GParamSpecFloat))
1.80 +#define G_TYPE_PARAM_DOUBLE (g_param_spec_types[13])
1.81 +#define G_IS_PARAM_SPEC_DOUBLE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_DOUBLE))
1.82 +#define G_PARAM_SPEC_DOUBLE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_DOUBLE, GParamSpecDouble))
1.83 +#define G_TYPE_PARAM_STRING (g_param_spec_types[14])
1.84 +#define G_IS_PARAM_SPEC_STRING(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_STRING))
1.85 +#define G_PARAM_SPEC_STRING(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_STRING, GParamSpecString))
1.86 +#define G_TYPE_PARAM_PARAM (g_param_spec_types[15])
1.87 +#define G_IS_PARAM_SPEC_PARAM(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_PARAM))
1.88 +#define G_PARAM_SPEC_PARAM(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_PARAM, GParamSpecParam))
1.89 +#define G_TYPE_PARAM_BOXED (g_param_spec_types[16])
1.90 +#define G_IS_PARAM_SPEC_BOXED(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_BOXED))
1.91 +#define G_PARAM_SPEC_BOXED(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_BOXED, GParamSpecBoxed))
1.92 +#define G_TYPE_PARAM_POINTER (g_param_spec_types[17])
1.93 +#define G_IS_PARAM_SPEC_POINTER(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_POINTER))
1.94 +#define G_PARAM_SPEC_POINTER(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_POINTER, GParamSpecPointer))
1.95 +#define G_TYPE_PARAM_VALUE_ARRAY (g_param_spec_types[18])
1.96 +#define G_IS_PARAM_SPEC_VALUE_ARRAY(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_VALUE_ARRAY))
1.97 +#define G_PARAM_SPEC_VALUE_ARRAY(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_VALUE_ARRAY, GParamSpecValueArray))
1.98 +#define G_TYPE_PARAM_OBJECT (g_param_spec_types[19])
1.99 +#define G_IS_PARAM_SPEC_OBJECT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_OBJECT))
1.100 +#define G_PARAM_SPEC_OBJECT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_OBJECT, GParamSpecObject))
1.101 +#define G_TYPE_PARAM_OVERRIDE (g_param_spec_types[20])
1.102 +#define G_IS_PARAM_SPEC_OVERRIDE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_OVERRIDE))
1.103 +#define G_PARAM_SPEC_OVERRIDE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_OVERRIDE, GParamSpecOverride))
1.104 +#define G_TYPE_PARAM_GTYPE (g_param_spec_types[21])
1.105 +#define G_IS_PARAM_SPEC_GTYPE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_GTYPE))
1.106 +#define G_PARAM_SPEC_GTYPE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_GTYPE, GParamSpecGType))
1.107 +
1.108 +
1.109 +/* --- typedefs & structures --- */
1.110 +typedef struct _GParamSpecChar GParamSpecChar;
1.111 +typedef struct _GParamSpecUChar GParamSpecUChar;
1.112 +typedef struct _GParamSpecBoolean GParamSpecBoolean;
1.113 +typedef struct _GParamSpecInt GParamSpecInt;
1.114 +typedef struct _GParamSpecUInt GParamSpecUInt;
1.115 +typedef struct _GParamSpecLong GParamSpecLong;
1.116 +typedef struct _GParamSpecULong GParamSpecULong;
1.117 +typedef struct _GParamSpecInt64 GParamSpecInt64;
1.118 +typedef struct _GParamSpecUInt64 GParamSpecUInt64;
1.119 +typedef struct _GParamSpecUnichar GParamSpecUnichar;
1.120 +typedef struct _GParamSpecEnum GParamSpecEnum;
1.121 +typedef struct _GParamSpecFlags GParamSpecFlags;
1.122 +typedef struct _GParamSpecFloat GParamSpecFloat;
1.123 +typedef struct _GParamSpecDouble GParamSpecDouble;
1.124 +typedef struct _GParamSpecString GParamSpecString;
1.125 +typedef struct _GParamSpecParam GParamSpecParam;
1.126 +typedef struct _GParamSpecBoxed GParamSpecBoxed;
1.127 +typedef struct _GParamSpecPointer GParamSpecPointer;
1.128 +typedef struct _GParamSpecValueArray GParamSpecValueArray;
1.129 +typedef struct _GParamSpecObject GParamSpecObject;
1.130 +typedef struct _GParamSpecOverride GParamSpecOverride;
1.131 +typedef struct _GParamSpecGType GParamSpecGType;
1.132 +
1.133 +struct _GParamSpecChar
1.134 +{
1.135 + GParamSpec parent_instance;
1.136 +
1.137 + gint8 minimum;
1.138 + gint8 maximum;
1.139 + gint8 default_value;
1.140 +};
1.141 +struct _GParamSpecUChar
1.142 +{
1.143 + GParamSpec parent_instance;
1.144 +
1.145 + guint8 minimum;
1.146 + guint8 maximum;
1.147 + guint8 default_value;
1.148 +};
1.149 +struct _GParamSpecBoolean
1.150 +{
1.151 + GParamSpec parent_instance;
1.152 +
1.153 + gboolean default_value;
1.154 +};
1.155 +struct _GParamSpecInt
1.156 +{
1.157 + GParamSpec parent_instance;
1.158 +
1.159 + gint minimum;
1.160 + gint maximum;
1.161 + gint default_value;
1.162 +};
1.163 +struct _GParamSpecUInt
1.164 +{
1.165 + GParamSpec parent_instance;
1.166 +
1.167 + guint minimum;
1.168 + guint maximum;
1.169 + guint default_value;
1.170 +};
1.171 +struct _GParamSpecLong
1.172 +{
1.173 + GParamSpec parent_instance;
1.174 +
1.175 + glong minimum;
1.176 + glong maximum;
1.177 + glong default_value;
1.178 +};
1.179 +struct _GParamSpecULong
1.180 +{
1.181 + GParamSpec parent_instance;
1.182 +
1.183 + gulong minimum;
1.184 + gulong maximum;
1.185 + gulong default_value;
1.186 +};
1.187 +struct _GParamSpecInt64
1.188 +{
1.189 + GParamSpec parent_instance;
1.190 +
1.191 + gint64 minimum;
1.192 + gint64 maximum;
1.193 + gint64 default_value;
1.194 +};
1.195 +struct _GParamSpecUInt64
1.196 +{
1.197 + GParamSpec parent_instance;
1.198 +
1.199 + guint64 minimum;
1.200 + guint64 maximum;
1.201 + guint64 default_value;
1.202 +};
1.203 +struct _GParamSpecUnichar
1.204 +{
1.205 + GParamSpec parent_instance;
1.206 +
1.207 + gunichar default_value;
1.208 +};
1.209 +struct _GParamSpecEnum
1.210 +{
1.211 + GParamSpec parent_instance;
1.212 +
1.213 + GEnumClass *enum_class;
1.214 + gint default_value;
1.215 +};
1.216 +struct _GParamSpecFlags
1.217 +{
1.218 + GParamSpec parent_instance;
1.219 +
1.220 + GFlagsClass *flags_class;
1.221 + guint default_value;
1.222 +};
1.223 +struct _GParamSpecFloat
1.224 +{
1.225 + GParamSpec parent_instance;
1.226 +
1.227 + gfloat minimum;
1.228 + gfloat maximum;
1.229 + gfloat default_value;
1.230 + gfloat epsilon;
1.231 +};
1.232 +struct _GParamSpecDouble
1.233 +{
1.234 + GParamSpec parent_instance;
1.235 +
1.236 + gdouble minimum;
1.237 + gdouble maximum;
1.238 + gdouble default_value;
1.239 + gdouble epsilon;
1.240 +};
1.241 +struct _GParamSpecString
1.242 +{
1.243 + GParamSpec parent_instance;
1.244 +
1.245 + gchar *default_value;
1.246 + gchar *cset_first;
1.247 + gchar *cset_nth;
1.248 + gchar substitutor;
1.249 + guint null_fold_if_empty : 1;
1.250 + guint ensure_non_null : 1;
1.251 +};
1.252 +struct _GParamSpecParam
1.253 +{
1.254 + GParamSpec parent_instance;
1.255 +};
1.256 +struct _GParamSpecBoxed
1.257 +{
1.258 + GParamSpec parent_instance;
1.259 +};
1.260 +struct _GParamSpecPointer
1.261 +{
1.262 + GParamSpec parent_instance;
1.263 +};
1.264 +struct _GParamSpecValueArray
1.265 +{
1.266 + GParamSpec parent_instance;
1.267 + GParamSpec *element_spec;
1.268 + guint fixed_n_elements;
1.269 +};
1.270 +struct _GParamSpecObject
1.271 +{
1.272 + GParamSpec parent_instance;
1.273 +};
1.274 +struct _GParamSpecOverride
1.275 +{
1.276 + /*< private >*/
1.277 + GParamSpec parent_instance;
1.278 + GParamSpec *overridden;
1.279 +};
1.280 +struct _GParamSpecGType
1.281 +{
1.282 + GParamSpec parent_instance;
1.283 + GType is_a_type;
1.284 +};
1.285 +
1.286 +/* --- GParamSpec prototypes --- */
1.287 +IMPORT_C GParamSpec* g_param_spec_char (const gchar *name,
1.288 + const gchar *nick,
1.289 + const gchar *blurb,
1.290 + gint8 minimum,
1.291 + gint8 maximum,
1.292 + gint8 default_value,
1.293 + GParamFlags flags);
1.294 +IMPORT_C GParamSpec* g_param_spec_uchar (const gchar *name,
1.295 + const gchar *nick,
1.296 + const gchar *blurb,
1.297 + guint8 minimum,
1.298 + guint8 maximum,
1.299 + guint8 default_value,
1.300 + GParamFlags flags);
1.301 +IMPORT_C GParamSpec* g_param_spec_boolean (const gchar *name,
1.302 + const gchar *nick,
1.303 + const gchar *blurb,
1.304 + gboolean default_value,
1.305 + GParamFlags flags);
1.306 +IMPORT_C GParamSpec* g_param_spec_int (const gchar *name,
1.307 + const gchar *nick,
1.308 + const gchar *blurb,
1.309 + gint minimum,
1.310 + gint maximum,
1.311 + gint default_value,
1.312 + GParamFlags flags);
1.313 +IMPORT_C GParamSpec* g_param_spec_uint (const gchar *name,
1.314 + const gchar *nick,
1.315 + const gchar *blurb,
1.316 + guint minimum,
1.317 + guint maximum,
1.318 + guint default_value,
1.319 + GParamFlags flags);
1.320 +IMPORT_C GParamSpec* g_param_spec_long (const gchar *name,
1.321 + const gchar *nick,
1.322 + const gchar *blurb,
1.323 + glong minimum,
1.324 + glong maximum,
1.325 + glong default_value,
1.326 + GParamFlags flags);
1.327 +IMPORT_C GParamSpec* g_param_spec_ulong (const gchar *name,
1.328 + const gchar *nick,
1.329 + const gchar *blurb,
1.330 + gulong minimum,
1.331 + gulong maximum,
1.332 + gulong default_value,
1.333 + GParamFlags flags);
1.334 +IMPORT_C GParamSpec* g_param_spec_int64 (const gchar *name,
1.335 + const gchar *nick,
1.336 + const gchar *blurb,
1.337 + gint64 minimum,
1.338 + gint64 maximum,
1.339 + gint64 default_value,
1.340 + GParamFlags flags);
1.341 +IMPORT_C GParamSpec* g_param_spec_uint64 (const gchar *name,
1.342 + const gchar *nick,
1.343 + const gchar *blurb,
1.344 + guint64 minimum,
1.345 + guint64 maximum,
1.346 + guint64 default_value,
1.347 + GParamFlags flags);
1.348 +IMPORT_C GParamSpec* g_param_spec_unichar (const gchar *name,
1.349 + const gchar *nick,
1.350 + const gchar *blurb,
1.351 + gunichar default_value,
1.352 + GParamFlags flags);
1.353 +IMPORT_C GParamSpec* g_param_spec_enum (const gchar *name,
1.354 + const gchar *nick,
1.355 + const gchar *blurb,
1.356 + GType enum_type,
1.357 + gint default_value,
1.358 + GParamFlags flags);
1.359 +IMPORT_C GParamSpec* g_param_spec_flags (const gchar *name,
1.360 + const gchar *nick,
1.361 + const gchar *blurb,
1.362 + GType flags_type,
1.363 + guint default_value,
1.364 + GParamFlags flags);
1.365 +IMPORT_C GParamSpec* g_param_spec_float (const gchar *name,
1.366 + const gchar *nick,
1.367 + const gchar *blurb,
1.368 + gfloat minimum,
1.369 + gfloat maximum,
1.370 + gfloat default_value,
1.371 + GParamFlags flags);
1.372 +IMPORT_C GParamSpec* g_param_spec_double (const gchar *name,
1.373 + const gchar *nick,
1.374 + const gchar *blurb,
1.375 + gdouble minimum,
1.376 + gdouble maximum,
1.377 + gdouble default_value,
1.378 + GParamFlags flags);
1.379 +IMPORT_C GParamSpec* g_param_spec_string (const gchar *name,
1.380 + const gchar *nick,
1.381 + const gchar *blurb,
1.382 + const gchar *default_value,
1.383 + GParamFlags flags);
1.384 +IMPORT_C GParamSpec* g_param_spec_param (const gchar *name,
1.385 + const gchar *nick,
1.386 + const gchar *blurb,
1.387 + GType param_type,
1.388 + GParamFlags flags);
1.389 +IMPORT_C GParamSpec* g_param_spec_boxed (const gchar *name,
1.390 + const gchar *nick,
1.391 + const gchar *blurb,
1.392 + GType boxed_type,
1.393 + GParamFlags flags);
1.394 +IMPORT_C GParamSpec* g_param_spec_pointer (const gchar *name,
1.395 + const gchar *nick,
1.396 + const gchar *blurb,
1.397 + GParamFlags flags);
1.398 +IMPORT_C GParamSpec* g_param_spec_value_array (const gchar *name,
1.399 + const gchar *nick,
1.400 + const gchar *blurb,
1.401 + GParamSpec *element_spec,
1.402 + GParamFlags flags);
1.403 +IMPORT_C GParamSpec* g_param_spec_object (const gchar *name,
1.404 + const gchar *nick,
1.405 + const gchar *blurb,
1.406 + GType object_type,
1.407 + GParamFlags flags);
1.408 +IMPORT_C GParamSpec* g_param_spec_override (const gchar *name,
1.409 + GParamSpec *overridden);
1.410 +IMPORT_C GParamSpec* g_param_spec_gtype (const gchar *name,
1.411 + const gchar *nick,
1.412 + const gchar *blurb,
1.413 + GType is_a_type,
1.414 + GParamFlags flags);
1.415 +
1.416 +/* --- internal --- */
1.417 +/* We prefix variable declarations so they can
1.418 + * properly get exported in windows dlls.
1.419 + */
1.420 +#ifndef GOBJECT_VAR
1.421 +# ifdef G_PLATFORM_WIN32
1.422 +# ifdef GOBJECT_STATIC_COMPILATION
1.423 +# define GOBJECT_VAR extern
1.424 +# else /* !GOBJECT_STATIC_COMPILATION */
1.425 +# ifdef GOBJECT_COMPILATION
1.426 +# ifdef DLL_EXPORT
1.427 +# define GOBJECT_VAR __declspec(dllexport)
1.428 +# else /* !DLL_EXPORT */
1.429 +# define GOBJECT_VAR extern
1.430 +# endif /* !DLL_EXPORT */
1.431 +# else /* !GOBJECT_COMPILATION */
1.432 +# define GOBJECT_VAR extern __declspec(dllimport)
1.433 +# endif /* !GOBJECT_COMPILATION */
1.434 +# endif /* !GOBJECT_STATIC_COMPILATION */
1.435 +# else /* !G_PLATFORM_WIN32 */
1.436 +# define GOBJECT_VAR extern
1.437 +# endif /* !G_PLATFORM_WIN32 */
1.438 +#endif /* GOBJECT_VAR */
1.439 +
1.440 +#ifdef __SYMBIAN32__
1.441 +IMPORT_C GType ** _g_param_spec_types();
1.442 +#endif /*__SYMBIAN32__ */
1.443 +GOBJECT_VAR GType *g_param_spec_types;
1.444 +
1.445 +G_END_DECLS
1.446 +
1.447 +#endif /* __G_PARAMSPECS_H__ */