diff options
Diffstat (limited to 'cgats')
-rw-r--r-- | cgats/License4.txt (renamed from cgats/License.txt) | 2 | ||||
-rw-r--r-- | cgats/Readme.txt | 2 | ||||
-rw-r--r-- | cgats/afiles | 2 | ||||
-rw-r--r-- | cgats/cgats.c | 7 | ||||
-rw-r--r-- | cgats/cgats.h | 6 | ||||
-rw-r--r-- | cgats/cgatsstd.c | 12 | ||||
-rw-r--r-- | cgats/pars.c | 6 | ||||
-rw-r--r-- | cgats/pars.h | 13 | ||||
-rw-r--r-- | cgats/parsstd.c | 6 |
9 files changed, 42 insertions, 14 deletions
diff --git a/cgats/License.txt b/cgats/License4.txt index 7655233..6db70c8 100644 --- a/cgats/License.txt +++ b/cgats/License4.txt @@ -1,5 +1,5 @@ ************************************************************************* -Copyright (c) 1995-2002 Graeme W. Gill +Copyright (c) 1995-2015 Graeme W. Gill Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/cgats/Readme.txt b/cgats/Readme.txt index 94f3e3d..89c554e 100644 --- a/cgats/Readme.txt +++ b/cgats/Readme.txt @@ -6,7 +6,7 @@ Package contents: ----------------- cgatslib.zip ZIP archive of the following files Readme.txt This file. -License.txt Important! - Permissions for use of this package. +License4.txt Important! - Permissions for use of this package. cgats.c CGATS Library source code. cgatsstd.c I/O and malloc source code. cgats.h CGATS Library include file. Note machine dependent defines. diff --git a/cgats/afiles b/cgats/afiles index e185eb7..5532110 100644 --- a/cgats/afiles +++ b/cgats/afiles @@ -1,5 +1,5 @@ Readme.txt -License.txt +License4.txt afiles cgats.c cgats.h diff --git a/cgats/cgats.c b/cgats/cgats.c index 3e6e642..3741a5d 100644 --- a/cgats/cgats.c +++ b/cgats/cgats.c @@ -3,7 +3,9 @@ * Committee for Graphics Arts Technologies Standards * CGATS.5 and IT8.7 family file I/O class * Version 2.05 - * + */ + +/* * Author: Graeme W. Gill * Date: 20/12/95 * @@ -11,9 +13,10 @@ * 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. */ + /* Should add a function to promote a field type, ie. diff --git a/cgats/cgats.h b/cgats/cgats.h index bc0cdd7..bf5c94e 100644 --- a/cgats/cgats.h +++ b/cgats/cgats.h @@ -4,7 +4,9 @@ * Committee for Graphics Arts Technologies Standards * CGATS.5 and IT8.7 family file I/O class * Version 2.05 - * + */ + +/* * Author: Graeme W. Gill * Date: 20/12/95 * @@ -12,7 +14,7 @@ * 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. */ /* Version of cgatslib release */ diff --git a/cgats/cgatsstd.c b/cgats/cgatsstd.c index d8fbb34..22c17ed 100644 --- a/cgats/cgatsstd.c +++ b/cgats/cgatsstd.c @@ -3,6 +3,11 @@ * cgats library stdio and malloc utility classes. * Version 2.05 * + * These are kept in a separate file to allow them to be + * selectively ommitted from the cgats library. + */ + +/* * Author: Graeme W. Gill * Date: 2002/10/24 * @@ -10,13 +15,12 @@ * All rights reserved. * * This material is licensed with an "MIT" free use license:- - * see the License.txt file in this directory for licensing details. - * - * These are kept in a separate file to allow them to be - * selectively ommitted from the cgats library. + * see the License4.txt file in this directory for licensing details. * */ + + #ifndef COMBINED_STD #include <stdio.h> diff --git a/cgats/pars.c b/cgats/pars.c index 8a4e4b9..c3038d5 100644 --- a/cgats/pars.c +++ b/cgats/pars.c @@ -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.05 * * Author: Graeme W. Gill @@ -11,9 +14,10 @@ * 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. */ + #define _PARS_C_ /* Turn on implimentation code */ #include <stdio.h> 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 */ diff --git a/cgats/parsstd.c b/cgats/parsstd.c index 4443e0a..2246c97 100644 --- a/cgats/parsstd.c +++ b/cgats/parsstd.c @@ -1,6 +1,9 @@ /* * parse library stdio and malloc utility classes. + */ + +/* * Version 2.05 * * Author: Graeme W. Gill @@ -10,13 +13,14 @@ * 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. * * These are kept in a separate file to allow them to be * selectively ommitted from the cgats library. * */ + #define _PARSSTD_C_ #ifndef COMBINED_STD |