put newly created param spec types into a global array.

Wed Nov 21 17:23:33 2001  Tim Janik  <timj@gtk.org>

        * gparamspecs.[hc]: put newly created param spec types into a
        global array.

        * gboxed.[hc]: moved boxed types with _get_type() function here,
        for: G_TYPE_CLOSURE, G_TYPE_VALUE, G_TYPE_VALUE_ARRAY,
        G_TYPE_GSTRING.

        * gtype.h: removed fundamental branch APIs and derived enum
        values.
This commit is contained in:
Tim Janik
2001-11-21 17:49:34 +00:00
committed by Tim Janik
parent 2bbd00a263
commit 860905c445
12 changed files with 151 additions and 103 deletions

View File

@@ -56,12 +56,21 @@ GType g_boxed_type_register_static (const gchar *name,
GBoxedFreeFunc boxed_free);
/* --- marshaller specific --- */
/* --- GLib boxed types --- */
#define G_TYPE_CLOSURE (g_closure_get_type ())
#define G_TYPE_VALUE (g_value_get_type ())
#define G_TYPE_VALUE_ARRAY (g_value_array_get_type ())
#define G_TYPE_GSTRING (g_gstring_get_type ())
/* --- internal (marshaller specific) --- */
void g_value_set_boxed_take_ownership (GValue *value,
gconstpointer v_boxed);
GType g_closure_get_type (void) G_GNUC_CONST;
GType g_value_get_type (void) G_GNUC_CONST;
GType g_value_array_get_type (void) G_GNUC_CONST;
GType g_gstring_get_type (void) G_GNUC_CONST;
G_END_DECLS
#endif /* __G_BOXED_H__ */