| ZIF Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
ZifString; #define zif_string_get_value (string) ZifString * zif_string_new (const gchar *value); ZifString * zif_string_new_static (const gchar *value); ZifString * zif_string_new_value (gchar *value); ZifString * zif_string_ref (ZifString *string); ZifString * zif_string_unref (ZifString *string);
To avoid frequent malloc/free, we use reference counted strings to optimise many of the zif internals.