X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=include%2Fgom.h;fp=include%2Fgom.h;h=5e33076404b26e914615bef67033328fc3179e8b;hb=e660d72f378df5439cc383a57d0e45a1f25fbc88;hp=f0952e9e9c8581c4c616d762f066686831615965;hpb=b99c837c1651c8c0c0567224765404e136a3aade;p=gedcom-parse.git diff --git a/include/gom.h b/include/gom.h index f0952e9..5e33076 100644 --- a/include/gom.h +++ b/include/gom.h @@ -26,7 +26,9 @@ #include "gedcom.h" -__BEGIN_DECLS +#ifdef __cplusplus +extern "C" { +#endif /* Sub-structures */ @@ -414,6 +416,7 @@ struct user_rec { /* Functions */ int gom_parse_file(const char *file_name); +int gom_new_model(); struct header* gom_get_header(); struct submission* gom_get_submission(); @@ -449,6 +452,8 @@ char* gom_get_string_locale(char* data, int* conversion_failures); char* gom_set_string_locale(char** data, const char* locale_value); void gom_set_unknown(const char* unknown); -__END_DECLS +#ifdef __cplusplus +} +#endif #endif /* __GEDCOM_GOM_H */