summaryrefslogtreecommitdiff
path: root/cgats/pars.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-02 19:24:58 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-02 19:24:58 +0200
commit3db384424bd7398ffbb7a355cab8f15f3add009f (patch)
tree4536961c62454aca3ac87ee88229e4d20c0d44fa /cgats/pars.h
parentd479dd1aab1c1cb907932c6595b0ef33523fc797 (diff)
New upstream version 1.9.1+repackupstream/1.9.1+repack
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 */