From b4f769efafc9fa1ad3862e2516ee534c7d159455 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 9 Jan 2004 22:39:55 +0000 Subject: Add a boxed type for nul-terminated string arrays. (#110528) Fri Jan 9 23:41:00 2004 Matthias Clasen * gboxed.h: * gboxed.c (g_strv_get_type): Add a boxed type for nul-terminated string arrays. (#110528) --- gobject/gboxed.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gobject/gboxed.h') 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 -- cgit v1.2.3