Declare SUB_MAKEFUNC.
[gedcom-parse.git] / gom / source_event.h
index 554b41442cdc6c90b2fc92c4e86579d740d75892..7d86a6e3370f3af508c02f4578236b1063c1e845 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_SUB_MAKEFUNC(source_event);
+
+DECLARE_CLEANFUNC(source_event);
+DECLARE_ADDFUNC2(source_event, user_data);
 
 #endif /* __SOURCE_EVENT_H */