Definition of SUB_MAKEFUNC, SUB_ADDFUNC and SUB_DELETEFUNC.
[gedcom-parse.git] / gom / note_sub.h
index b543eb084e4380157aec936fb5228d12b6db4384..c78bfa2e11359a3558cf3d8f7ed778a21170b47f 100644 (file)
 #include "gom_internal.h"
 
 void note_sub_subscribe();
-void note_sub_cleanup(struct note_sub* note);
-void note_sub_add_citation(Gom_ctxt ctxt, struct source_citation* cit);
-void note_sub_add_user_data(Gom_ctxt ctxt, struct user_data* data);
 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);
+
 #endif /* __NOTE_SUB_H */