ECal.ComponentAlarms.take_instance

### Method

# ECal ComponentAlarmstake_instance

since: 3.34

#### Declaration [src]

    void
    e_cal_component_alarms_take_instance (
      ECalComponentAlarms* alarms,
      ECalComponentAlarmInstance* instance
    )

#### Description [src]

Add the `instance` into the list of instances and assume ownership of it. It is added in no particular order.

Available since: 3.34

#### Parameters

`instance`

  Type: `ECalComponentAlarmInstance`

  An `ECalComponentAlarmInstance`.

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