X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Fgom_internal.h;h=476cc9e362a7a1ed790f969d47c7912daf845b9f;hb=f197c791489f1537db4aebc7ce29b6d4f9adc2b3;hp=5b707a5791049b67df201fadd86bef398bcce12c;hpb=72689522e287ca3b2231e7d8881f0fe5bea48f15;p=gedcom-parse.git diff --git a/gom/gom_internal.h b/gom/gom_internal.h index 5b707a5..476cc9e 100644 --- a/gom/gom_internal.h +++ b/gom/gom_internal.h @@ -76,6 +76,8 @@ void gom_cast_error(const char* file, int line, void gom_no_context(const char* file, int line); void gom_unexpected_context(const char* file, int line, OBJ_TYPE found); void gom_xref_already_in_use(const char *xrefstr); +void gom_move_error(const char* type); +void unref_xref_value(struct xref_value *xref); int gom_write_xref_list(Gedcom_write_hndl hndl, Gedcom_elt elt, int tag, int parent_rec_or_elt, @@ -116,8 +118,9 @@ int update_time(char** tv, struct tm* tm_ptr); void NULL_DESTROY(void* anything); -#define xref_list_cleanup NULL_DESTROY - #include "func_template.h" +DECLARE_UNREFALLFUNC(xref_list); +DECLARE_CLEANFUNC(xref_list); + #endif /* __GOM_INTERNAL_H */