Logo Search packages:      
Sourcecode: libical version File versions  Download package

icaltimezone* icaltimezone_new ( void   ) 

Creates a new icaltimezone.

Definition at line 210 of file icaltimezone.c.

References icaltimezone_init().

{
    icaltimezone *zone;

    zone = (icaltimezone*) malloc (sizeof (icaltimezone));
    if (!zone) {
      icalerror_set_errno (ICAL_NEWFAILED_ERROR);
      return NULL;
    }

    icaltimezone_init (zone);

    return zone;
}


Generated by  Doxygen 1.6.0   Back to index