NamedParameters.string


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "3.18" ) ]
public NamedParameters.string (string str)

Creates a new instance of an NamedParameters, with initial content being taken from str.

This should be freed with free, when no longer needed. Names are compared case insensitively.

The str should be created with to_string, to be properly encoded.

The structure is not thread safe, if the caller requires thread safety, then it should provide it on its own.

Parameters:

str

a string to be used as a content of a newly created NamedParameters

Returns:

newly allocated NamedParameters