gquark.h File Reference

__G_QUARK_H__

GQuark

G_BEGIN_DECLS typedef guint32GQuark

g_quark_try_string ( const gchar * )

IMPORT_C GQuarkg_quark_try_string(const gchar *string)

g_quark_from_static_string ( const gchar * )

IMPORT_C GQuarkg_quark_from_static_string(const gchar *string)

g_quark_from_string ( const gchar * )

IMPORT_C GQuarkg_quark_from_string(const gchar *string)

g_quark_to_string ( GQuark )

IMPORT_C G_CONST_RETURN gchar *g_quark_to_string(GQuarkquark)

g_intern_string ( const gchar * )

IMPORT_C G_CONST_RETURN gchar *g_intern_string(const gchar *string)

g_intern_string: : a string

Returns a canonical representation for . Interned strings can be compared for equality by comparing the pointers, instead of using strcmp().

Returns: a canonical representation for the string

Since: 2.10

g_intern_static_string ( const gchar * )

IMPORT_C G_CONST_RETURN gchar *g_intern_static_string(const gchar *string)

g_intern_static_string: : a static string

Returns a canonical representation for . Interned strings can be compared for equality by comparing the pointers, instead of using strcmp(). g_intern_static_string() does not copy the string, therefore must not be freed or modified.

Returns: a canonical representation for the string

Since: 2.10