From f64619dc88514d184a094e41d34012eb136367a2 Mon Sep 17 00:00:00 2001 From: Peter Verthez Date: Sun, 5 Jan 2003 17:42:03 +0000 Subject: [PATCH] Declare SUB_MAKEFUNC. --- gom/address.h | 2 ++ gom/association.h | 2 ++ gom/change_date.h | 1 + gom/event.h | 2 ++ gom/family_link.h | 2 ++ gom/lds_event.h | 2 ++ gom/multimedia_link.h | 2 ++ gom/note_sub.h | 2 ++ gom/personal_name.h | 1 + gom/place.h | 2 ++ gom/source_citation.h | 2 ++ gom/source_description.h | 2 ++ gom/source_event.h | 2 ++ gom/user_ref.h | 2 ++ 14 files changed, 26 insertions(+) diff --git a/gom/address.h b/gom/address.h index bff2e3a..8c35b2e 100644 --- a/gom/address.h +++ b/gom/address.h @@ -29,6 +29,8 @@ void address_subscribe(); int write_address(Gedcom_write_hndl hndl, int parent, struct address *address); +DECLARE_SUB_MAKEFUNC(address); + DECLARE_CLEANFUNC(address); DECLARE_ADDFUNC2(address, user_data); diff --git a/gom/association.h b/gom/association.h index c649066..8c49023 100644 --- a/gom/association.h +++ b/gom/association.h @@ -31,6 +31,8 @@ void association_subscribe(); int write_associations(Gedcom_write_hndl hndl, int parent, struct association *assoc); +DECLARE_SUB_MAKEFUNC(association); + DECLARE_CLEANFUNC(association); DECLARE_ADDFUNC2(association, note_sub); DECLARE_ADDFUNC2(association, source_citation); diff --git a/gom/change_date.h b/gom/change_date.h index b4dd028..ac94b76 100644 --- a/gom/change_date.h +++ b/gom/change_date.h @@ -31,6 +31,7 @@ void change_date_subscribe(); int write_change_date(Gedcom_write_hndl hndl, int parent, struct change_date *chan); +DECLARE_SUB_MAKEFUNC(change_date); DECLARE_CLEANFUNC(change_date); DECLARE_ADDFUNC2(change_date, note_sub); DECLARE_ADDFUNC2(change_date, user_data); diff --git a/gom/event.h b/gom/event.h index 2c3b278..aa519cb 100644 --- a/gom/event.h +++ b/gom/event.h @@ -37,6 +37,8 @@ void event_subscribe(); int write_events(Gedcom_write_hndl hndl, int parent, EventType evt_type, struct event* evt); +DECLARE_SUB_MAKEFUNC(event); + DECLARE_CLEANFUNC(event); DECLARE_ADDFUNC2(event, source_citation); DECLARE_ADDFUNC2(event, multimedia_link); diff --git a/gom/family_link.h b/gom/family_link.h index 5a1cb1b..eeb6cd9 100644 --- a/gom/family_link.h +++ b/gom/family_link.h @@ -36,6 +36,8 @@ void family_link_subscribe(); int write_family_links(Gedcom_write_hndl hndl, int parent, LinkType type, struct family_link *link); +DECLARE_SUB_MAKEFUNC(family_link); + DECLARE_CLEANFUNC(family_link); DECLARE_ADDFUNC2(family_link, note_sub); DECLARE_ADDFUNC2(family_link, user_data); diff --git a/gom/lds_event.h b/gom/lds_event.h index e313249..f49e2ee 100644 --- a/gom/lds_event.h +++ b/gom/lds_event.h @@ -32,6 +32,8 @@ void lds_event_subscribe(); int write_lds_events(Gedcom_write_hndl hndl, int parent, struct lds_event *lds); +DECLARE_SUB_MAKEFUNC(lds_event); + DECLARE_CLEANFUNC(lds_event); DECLARE_ADDFUNC2(lds_event, note_sub); DECLARE_ADDFUNC2(lds_event, source_citation); diff --git a/gom/multimedia_link.h b/gom/multimedia_link.h index cb396fd..9503449 100644 --- a/gom/multimedia_link.h +++ b/gom/multimedia_link.h @@ -32,6 +32,8 @@ void multimedia_link_subscribe(); int write_multimedia_links(Gedcom_write_hndl hndl, int parent, struct multimedia_link* mm); +DECLARE_SUB_MAKEFUNC(multimedia_link); + DECLARE_CLEANFUNC(multimedia_link); DECLARE_ADDFUNC2(multimedia_link, note_sub); DECLARE_ADDFUNC2(multimedia_link, user_data); diff --git a/gom/note_sub.h b/gom/note_sub.h index 43eca9f..c78bfa2 100644 --- a/gom/note_sub.h +++ b/gom/note_sub.h @@ -30,6 +30,8 @@ void note_sub_subscribe(); int write_note_subs(Gedcom_write_hndl hndl, int parent, struct note_sub* note); +DECLARE_SUB_MAKEFUNC(note_sub); + DECLARE_CLEANFUNC(note_sub); DECLARE_ADDFUNC2(note_sub, source_citation); DECLARE_ADDFUNC2(note_sub, user_data); diff --git a/gom/personal_name.h b/gom/personal_name.h index b2dcce0..24ce27d 100644 --- a/gom/personal_name.h +++ b/gom/personal_name.h @@ -31,6 +31,7 @@ void name_subscribe(); int write_names(Gedcom_write_hndl hndl, int parent, struct personal_name *name); +DECLARE_SUB_MAKEFUNC(personal_name); DECLARE_CLEANFUNC(personal_name); DECLARE_ADDFUNC2(personal_name, source_citation); DECLARE_ADDFUNC2(personal_name, note_sub); diff --git a/gom/place.h b/gom/place.h index 81291d3..614dacb 100644 --- a/gom/place.h +++ b/gom/place.h @@ -30,6 +30,8 @@ void place_subscribe(); int write_place(Gedcom_write_hndl hndl, int parent, struct place* place); +DECLARE_SUB_MAKEFUNC(place); + DECLARE_CLEANFUNC(place); DECLARE_ADDFUNC2(place, source_citation); DECLARE_ADDFUNC2(place, note_sub); diff --git a/gom/source_citation.h b/gom/source_citation.h index f08c054..0689551 100644 --- a/gom/source_citation.h +++ b/gom/source_citation.h @@ -32,6 +32,8 @@ void citation_subscribe(); int write_citations(Gedcom_write_hndl hndl, int parent, struct source_citation* cit); +DECLARE_SUB_MAKEFUNC(source_citation); + DECLARE_CLEANFUNC(source_citation); DECLARE_ADDFUNC2(source_citation, note_sub); DECLARE_ADDFUNC2(source_citation, multimedia_link); diff --git a/gom/source_description.h b/gom/source_description.h index 0a96081..1ff5441 100644 --- a/gom/source_description.h +++ b/gom/source_description.h @@ -32,6 +32,8 @@ void source_description_subscribe(); int write_source_descriptions(Gedcom_write_hndl hndl, int parent, struct source_description *desc); +DECLARE_SUB_MAKEFUNC(source_description); + DECLARE_CLEANFUNC(source_description); DECLARE_ADDFUNC2(source_description, user_data); diff --git a/gom/source_event.h b/gom/source_event.h index 0c2e9e3..7d86a6e 100644 --- a/gom/source_event.h +++ b/gom/source_event.h @@ -31,6 +31,8 @@ void source_event_subscribe(); int write_source_events(Gedcom_write_hndl hndl, int parent, struct source_event *evt); +DECLARE_SUB_MAKEFUNC(source_event); + DECLARE_CLEANFUNC(source_event); DECLARE_ADDFUNC2(source_event, user_data); diff --git a/gom/user_ref.h b/gom/user_ref.h index 191c2f3..8246d8b 100644 --- a/gom/user_ref.h +++ b/gom/user_ref.h @@ -31,6 +31,8 @@ void user_ref_subscribe(); int write_user_refs(Gedcom_write_hndl hndl, int parent, struct user_ref_number *refn); +DECLARE_SUB_MAKEFUNC(user_ref_number); + DECLARE_CLEANFUNC(user_ref_number); DECLARE_ADDFUNC2(user_ref_number, user_data); -- 2.30.2