dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Keep old encoding if new one cannot be created.
[gedcom-parse.git]
/
gedcom
/
gedcom_internal.h
diff --git
a/gedcom/gedcom_internal.h
b/gedcom/gedcom_internal.h
index abd80913302d2cbaae819e6245979adc9f7e754f..e34318144869dede3c2e6b7870fd1cce6f823ca8 100644
(file)
--- a/
gedcom/gedcom_internal.h
+++ b/
gedcom/gedcom_internal.h
@@
-28,13
+28,13
@@
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
-#ifdef WITH_DMALLOC
-#include <dmalloc.h>
-#endif
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <libintl.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <libintl.h>
+#ifdef WITH_DMALLOC
+#include <dmalloc.h>
+#endif
#define _(string) gettext(string)
#define N_(string) (string)
#define _(string) gettext(string)
#define N_(string) (string)
@@
-54,13
+54,12
@@
struct tag_struct {
int value;
};
int value;
};
-int gedcom_error(char* s, ...);
-int gedcom_warning(char* s, ...);
-int gedcom_message(char* s, ...);
-int gedcom_debug_print(char* s, ...);
-
int gedcom_parse();
int gedcom_lex();
int gedcom_parse();
int gedcom_lex();
+void gedcom_mem_error(const char *filename, int line);
+
+#define MEMORY_ERROR gedcom_mem_error(__FILE__, __LINE__)
+
extern int line_no;
#endif /* __GEDCOM_INTERNAL_H */
extern int line_no;
#endif /* __GEDCOM_INTERNAL_H */