Function
Camelpstring_add
Declaration [src]
const gchar*
camel_pstring_add (
gchar* string,
gboolean own
)
Description [src]
Add string to the pool.
The NULL and empty strings are special cased to constant values.
Unreference the returned string with camel_pstring_free().
Parameters
string-
Type:
gchar*String to add to the string pool.
The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. own-
Type:
gbooleanWhether the string pool will own the memory pointed to by
string, ifstringis not yet in the pool.