bool icalrecur_is_null_recurrence(struct icalrecurrencetype subject) { struct icalrecurrencetype clear; icalrecurrencetype_clear(&clear); return memcmp(&clear, &subject, sizeof(struct icalrecurrencetype)) == 0; }
Programming Tips - How can I check if a recurrence is empty?
Date: 2010apr15
Library: libical
Language: C/C++
Q. How can I check if a recurrence is empty?
A. Here is the missing function: