diff options
author | Rossen Apostolov <rossen@kth.se> | 2014-06-10 11:19:21 (GMT) |
---|---|---|
committer | Magnus Lundborg <magnus.lundborg@scilifelab.se> | 2014-06-16 13:51:54 (GMT) |
commit | f38717324267c2da69c20a0f1918ce8ef1e66be7 (patch) | |
tree | 7b7da0f06764162a66df5e1c3da34cc5acec14b4 /src/lib | |
parent | d4ccc39c47884a3f35470defdf8c94220f0ea725 (diff) |
Added project and API versions to CMakeLists.txt.
TNG_VERSION was renamed to TNG_API_VERSION which is configured
through API_VERSION in CMakeLists.txt.
Updated the header to 2014.
Change-Id: I6a37825cd1d236927ac0e21a797abc4e98f7ce59
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/tng_io.c | 5 | ||||
-rw-r--r-- | src/lib/tng_io_fortran.c | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c index c906f10..83ea162 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -1,7 +1,5 @@ /* This code is part of the tng binary trajectory format. * - * VERSION 1.5 - * * Written by Magnus Lundborg * Copyright (c) 2012-2013, The GROMACS development team. * Check out http://www.gromacs.org for more information. @@ -27,6 +25,7 @@ #include "../../include/tng_io.h" #include "../../include/md5.h" #include "../../include/compression/tng_compress.h" +#include "../include/version.h" struct tng_bond { @@ -744,7 +743,7 @@ static tng_function_status tng_block_init(struct tng_gen_block **block_p) /* Reset the md5_hash */ memcpy(block->md5_hash, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", TNG_MD5_HASH_LEN); block->name = 0; - block->block_version = TNG_VERSION; + block->block_version = TNG_API_VERSION; block->header_contents = 0; block->header_contents_size = 0; block->block_contents = 0; diff --git a/src/lib/tng_io_fortran.c b/src/lib/tng_io_fortran.c index baceef7..d53d15b 100644 --- a/src/lib/tng_io_fortran.c +++ b/src/lib/tng_io_fortran.c @@ -1,7 +1,5 @@ /* This code is part of the tng binary trajectory format. * - * VERSION 1.5 - * * Written by Magnus Lundborg * Copyright (c) 2012-2013, The GROMACS development team. * Check out http://www.gromacs.org for more information. |