dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added compatibility for PAF 4.
[gedcom-parse.git]
/
gom
/
place.c
diff --git
a/gom/place.c
b/gom/place.c
index cb852536aec106632f8da69e0c1a27f354b5c53a..38ff377481d2330b1caef10a37bceac70addb1b4 100644
(file)
--- a/
gom/place.c
+++ b/
gom/place.c
@@
-72,7
+72,7
@@
Gedcom_ctxt sub_place_start(_ELT_PARAMS_)
}
DEFINE_SUB_MAKEFUNC(place)
}
DEFINE_SUB_MAKEFUNC(place)
-DEFINE_SUB_
ADD
FUNC(place)
+DEFINE_SUB_
SET
FUNC(place)
DEFINE_SUB_DELETEFUNC(place)
DEFINE_STRING_CB(place, sub_place_form_start, place_hierarchy)
DEFINE_SUB_DELETEFUNC(place)
DEFINE_STRING_CB(place, sub_place_form_start, place_hierarchy)
@@
-88,6
+88,15
@@
void place_subscribe()
sub_place_form_start, def_elt_end);
}
sub_place_form_start, def_elt_end);
}
+void UNREFALLFUNC(place)(struct place* obj)
+{
+ if (obj) {
+ UNREFALLFUNC(source_citation)(obj->citation);
+ UNREFALLFUNC(note_sub)(obj->note);
+ UNREFALLFUNC(user_data)(obj->extra);
+ }
+}
+
void CLEANFUNC(place)(struct place* place)
{
if (place) {
void CLEANFUNC(place)(struct place* place)
{
if (place) {