#include <stdio.h>
#include <stdarg.h>
-__BEGIN_DECLS
+#ifdef __cplusplus
+extern "C" {
+#endif
#ifndef GEDCOM_INTERNAL
#include <gedcom-tags.h>
#define GEDCOM_PARSE_VERSION_MAJOR @VERSION_MAJOR@
#define GEDCOM_PARSE_VERSION_MINOR @VERSION_MINOR@
+#define GEDCOM_PARSE_VERSION_PATCH 0
#define GEDCOM_PARSE_VERSION \
(GEDCOM_PARSE_VERSION_MAJOR * 1000 + GEDCOM_PARSE_VERSION_MINOR)
+int gedcom_check_version(int major, int minor, int patch);
+
/**************************************************************************/
/*** First the records and elements to subscribe upon ***/
/**************************************************************************/
int gedcom_message(const char* s, ...);
int gedcom_debug_print(const char* s, ...);
-__END_DECLS
+#ifdef __cplusplus
+}
+#endif
#endif /* __GEDCOM_H */