summaryrefslogtreecommitdiff
path: root/cgats/pars.h
diff options
context:
space:
mode:
Diffstat (limited to 'cgats/pars.h')
-rw-r--r--cgats/pars.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/cgats/pars.h b/cgats/pars.h
index 83bbdad..083a745 100644
--- a/cgats/pars.h
+++ b/cgats/pars.h
@@ -2,6 +2,9 @@
/*
* Simple ASCII file parsing object.
* Used as a base for the CGATS.5 and IT8.7 family file I/O class
+ */
+
+/*
* Version 2.01
*
* Author: Graeme W. Gill
@@ -11,9 +14,13 @@
* All rights reserved.
*
* This material is licensed with an "MIT" free use license:-
- * see the License.txt file in this directory for licensing details.
+ * see the License4.txt file in this directory for licensing details.
*/
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
#undef CGATS_DEBUG_MALLOC /* Turns on partial support for filename and linenumber capture */
/* - - - - - - - - - - - - - - - - - - - - - */
@@ -237,6 +244,10 @@ extern parse *new_parse_al(cgatsAlloc *al, cgatsFile *fp); /* With allocator cla
/* Available when SEPARATE_STD is not defined: */
extern parse *new_parse(cgatsFile *fp); /* Default allocator */
+#ifdef __cplusplus
+ }
+#endif
+
#define PARS_H
#endif /* PARS_H */