Make the external header fit for inclusion in C++ programs.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Sun, 23 Dec 2001 10:03:48 +0000 (10:03 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Sun, 23 Dec 2001 10:03:48 +0000 (10:03 +0000)
include/gedcom.h

index 549a9ffd98d579100d8cdd6a963ad53bd3fccc6f..e985ccedd05c8da0ba3a4d7b038cf213565fc875 100644 (file)
@@ -26,6 +26,8 @@
 
 #include <stdio.h>
 
+__BEGIN_DECLS
+
 typedef enum _REC {
   REC_HEAD,
   REC_FAM,
@@ -120,4 +122,6 @@ void    gedcom_subscribe_to_element(Gedcom_elt elt,
                                    Gedcom_elt_start_cb cb_start,
                                    Gedcom_elt_end_cb cb_end);
 
+__END_DECLS
+
 #endif /* __GEDCOM_H */