diff options
author | Matthias Clasen <maclas@gmx.de> | 2004-01-09 22:39:55 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-01-09 22:39:55 +0000 |
commit | b4f769efafc9fa1ad3862e2516ee534c7d159455 (patch) | |
tree | a4fd419a9fd513325405ca405df1d4da7db548d9 /gobject/gboxed.h | |
parent | ba482c66c3afc35f7fb3676eced9ab93d8cb1c01 (diff) |
Add a boxed type for nul-terminated string arrays. (#110528)
Fri Jan 9 23:41:00 2004 Matthias Clasen <maclas@gmx.de>
* gboxed.h:
* gboxed.c (g_strv_get_type): Add a boxed type for nul-terminated
string arrays. (#110528)
Diffstat (limited to 'gobject/gboxed.h')
-rw-r--r-- | gobject/gboxed.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gobject/gboxed.h b/gobject/gboxed.h index 7e57c5ca7..b4bf15d2e 100644 --- a/gobject/gboxed.h +++ b/gobject/gboxed.h @@ -60,6 +60,7 @@ GType g_boxed_type_register_static (const gchar *name, #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_STRV (g_strv_get_type ()) #define G_TYPE_GSTRING (g_gstring_get_type ()) @@ -72,7 +73,10 @@ void g_value_set_boxed_take_ownership (GValue *value, 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; +GType g_strv_get_type (void) G_GNUC_CONST; +GType g_gstring_get_type (void) G_GNUC_CONST; + +typedef gchar** GStrv; G_END_DECLS |