Added functions to add and remove records.
[gedcom-parse.git] / gom / source_event.h
index 39e5399d1f97c8c40a566e819cd2d9496934dcb6..0c2e9e3934d4c92732c366e679f562a19c95e640 100644 (file)
 #include "gom_internal.h"
 
 void source_event_subscribe();
-void source_event_cleanup(struct source_event* evt);
-void source_event_add_user_data(Gom_ctxt ctxt, struct user_data* data);
 int write_source_events(Gedcom_write_hndl hndl, int parent,
                        struct source_event *evt);
 
+DECLARE_CLEANFUNC(source_event);
+DECLARE_ADDFUNC2(source_event, user_data);
+
 #endif /* __SOURCE_EVENT_H */