Add a function g_pointer_type_register_static() to register a type derived

Sun Nov  4 14:01:23 2001  Owen Taylor  <otaylor@redhat.com>

        * gvaluetypes.[ch]: Add a function g_pointer_type_register_static()
        to register a type derived from G_TYPE_POINTER.
This commit is contained in:
Owen Taylor
2001-11-04 19:02:10 +00:00
committed by Owen Taylor
parent 90bb210e1e
commit 49d9628efc
3 changed files with 34 additions and 0 deletions

View File

@@ -87,6 +87,9 @@ void g_value_set_pointer (GValue *value,
gpointer g_value_get_pointer (const GValue *value);
/* Convenience for registering new pointer types */
GType g_pointer_type_register_static (const gchar *name);
/* debugging aid, describe value contents as string */
gchar* g_strdup_value_contents (const GValue *value);