Browse - programming tips - libical is null recurrenceDate: 2010apr15 Product: libical Language: C/C++ Q. How can I check if a recurrence is empty? A. Here is the missing function: bool icalrecur_is_null_recurrence(struct icalrecurrencetype subject) { struct icalrecurrencetype clear; icalrecurrencetype_clear(&clear); return memcmp(&clear, &subject, sizeof(struct icalrecurrencetype)) == 0; }
Add a commentSign in to add a comment | Advertisements:
|