added g_value_set_static_string().

Thu Oct 26 00:30:27 2000  Tim Janik  <timj@gtk.org>

        * gvaluetypes.[hc]: added g_value_set_static_string().

        * gboxed.[hc]: const corrections. added g_value_set_static_boxed().
This commit is contained in:
Tim Janik
2000-10-25 22:33:26 +00:00
committed by Tim Janik
parent ee23c09e83
commit 900d0ed069
6 changed files with 98 additions and 55 deletions

View File

@@ -39,14 +39,16 @@ typedef void (*GBoxedFreeFunc) (gpointer boxed);
/* --- prototypes --- */
GBoxed* g_boxed_copy (GType boxed_type,
gpointer src_boxed);
void g_boxed_free (GType boxed_type,
gpointer boxed);
void g_value_set_boxed (GValue *value,
gpointer boxed);
gpointer g_value_get_boxed (GValue *value);
gpointer g_value_dup_boxed (GValue *value);
GBoxed* g_boxed_copy (GType boxed_type,
gconstpointer src_boxed);
void g_boxed_free (GType boxed_type,
gpointer boxed);
void g_value_set_boxed (GValue *value,
gconstpointer boxed);
void g_value_set_static_boxed (GValue *value,
gconstpointer boxed);
gpointer g_value_get_boxed (const GValue *value);
gpointer g_value_dup_boxed (GValue *value);
/* --- convenience --- */