X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Fplace.h;h=e73d924ab304cf47928a6bb7ecef47c9aeabd3a9;hb=3155d964e15a3c49121c01d2808e5a846779b812;hp=a2ca02df4f6b116a27c64a582478b3a5a6adc4c4;hpb=082066d0c776403b70c366f9a7d1333c7a9fac15;p=gedcom-parse.git diff --git a/gom/place.h b/gom/place.h index a2ca02d..e73d924 100644 --- a/gom/place.h +++ b/gom/place.h @@ -28,10 +28,14 @@ #include "gom_internal.h" void place_subscribe(); -void place_cleanup(struct place* place); -void place_add_citation(Gom_ctxt ctxt, struct source_citation* cit); -void place_add_note(Gom_ctxt ctxt, struct note_sub* note); -void place_add_user_data(Gom_ctxt ctxt, struct user_data* data); int write_place(Gedcom_write_hndl hndl, int parent, struct place* place); +DECLARE_SUB_MAKEFUNC(place); + +DECLARE_UNREFALLFUNC(place); +DECLARE_CLEANFUNC(place); +DECLARE_ADDFUNC2(place, source_citation); +DECLARE_ADDFUNC2(place, note_sub); +DECLARE_ADDFUNC2(place, user_data); + #endif /* __PLACE_H */