X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Fnote.c;h=6d0dc8aa32ec7909dca13b3837199a86994c5408;hb=f197c791489f1537db4aebc7ce29b6d4f9adc2b3;hp=fbe253f9778061b5d464f275b243fcd33713bfb8;hpb=d2d823fd4fe80162765029e5bc29f9b4f6f968f5;p=gedcom-parse.git diff --git a/gom/note.c b/gom/note.c index fbe253f..6d0dc8a 100644 --- a/gom/note.c +++ b/gom/note.c @@ -56,7 +56,6 @@ DEFINE_DESTROYFUNC(note, gom_first_note) 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) @@ -86,6 +85,16 @@ void note_subscribe() 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) {