pstring_add


Description:


public unowned string? pstring_add (string? string, bool own)

Add string to the pool.

The null and empty strings are special cased to constant values.

Unreference the returned string with pstring_free.

Parameters:

string

string to add to the string pool

own

whether the string pool will own the memory pointed to by string, if string is not yet in the pool

Returns:

a canonicalized copy of string


Namespace: Camel
Package: camel-1.2