DEFINE_ADDFUNC(note, XREF_NOTE)
DEFINE_DELETEFUNC(note)
DEFINE_GETXREFFUNC(note, XREF_NOTE)
-DEFINE_MAKELINKFUNC(note, XREF_NOTE)
DEFINE_STRING_END_REC_CB(note, note_end, text)
gedcom_subscribe_to_element(ELT_SUB_CONC, sub_cont_conc_start, def_elt_end);
}
+void UNREFALLFUNC(note)(struct note *obj)
+{
+ if (obj) {
+ UNREFALLFUNC(source_citation)(obj->citation);
+ UNREFALLFUNC(user_ref_number)(obj->ref);
+ UNREFALLFUNC(change_date)(obj->change_date);
+ UNREFALLFUNC(user_data)(obj->extra);
+ }
+}
+
void CLEANFUNC(note)(struct note* note)
{
if (note) {