Constructor

ICalGLibParameternew_role

since: 1.0

Declaration [src]

ICalParameter*
i_cal_parameter_new_role (
  ICalParameterRole v
)

Description [src]

Creates a new ICalParameter according to the role type.

Available since: 1.0

Parameters

v

Type: ICalParameterRole

The type of ICalParameter to be created.

Return value

Type: ICalParameter

The newly created ICalParameter.

The caller of the function takes ownership of the data, and is responsible for freeing it.