From: Peter Verthez Date: Sat, 19 Apr 2003 14:51:39 +0000 (+0000) Subject: Make error_mechanism more global due to move of gedcom_set_error_mechanism. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=36880cb1eb09eba4b99cd91e3cbc1bf1cf34d9f4;p=gedcom-parse.git Make error_mechanism more global due to move of gedcom_set_error_mechanism. --- diff --git a/gedcom/interface.h b/gedcom/interface.h index d766d94..e8dd9ce 100644 --- a/gedcom/interface.h +++ b/gedcom/interface.h @@ -41,6 +41,7 @@ void end_element(Gedcom_elt elt, Gedcom_ctxt parent, Gedcom_ctxt self, extern Gedcom_val_struct val1; extern Gedcom_val_struct val2; +extern Gedcom_err_mech error_mechanism; #define GEDCOM_MAKE(VAR, VALUE, TYPE, MEMBER) \ (VAR.type = TYPE, VAR.value.MEMBER = VALUE, &VAR)