summaryrefslogtreecommitdiff
path: root/src/tests/tng_io_testing.c
diff options
context:
space:
mode:
authorMagnus Lundborg <magnus.lundborg@scilifelab.se>2012-12-03 16:57:57 (GMT)
committerMagnus Lundborg <magnus.lundborg@scilifelab.se>2012-12-03 16:57:57 (GMT)
commitfa78b5bab2b7884a294de10fdbfca8a380823d79 (patch)
treef75345ecb10d6dc74225c247179895f7ae1dac60 /src/tests/tng_io_testing.c
parent2742db93246135f910c74255dbd935bcf8438650 (diff)
Typedef tng_trajectory to restrict data access to the API.
Diffstat (limited to 'src/tests/tng_io_testing.c')
-rw-r--r--src/tests/tng_io_testing.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/tng_io_testing.c b/src/tests/tng_io_testing.c
index 85a7294..6bd9faa 100644
--- a/src/tests/tng_io_testing.c
+++ b/src/tests/tng_io_testing.c
@@ -6,7 +6,7 @@
-static tng_function_status tng_setup_test_molecules(struct tng_trajectory *traj)
+static tng_function_status tng_setup_test_molecules(tng_trajectory_t traj)
{
struct tng_molecule *molecule;
struct tng_chain *chain;
@@ -95,7 +95,7 @@ static tng_function_status tng_setup_test_molecules(struct tng_trajectory *traj)
}
static tng_function_status tng_test_read_and_write_file
- (struct tng_trajectory *traj)
+ (tng_trajectory_t traj)
{
tng_function_status stat;
@@ -124,7 +124,7 @@ static tng_function_status tng_test_read_and_write_file
return(stat);
}
-static tng_function_status tng_test_write_and_read_traj(struct tng_trajectory *traj)
+static tng_function_status tng_test_write_and_read_traj(tng_trajectory_t traj)
{
int i, j, k, nr, tot_n_mols, cnt;
float *data, *molpos;
contact: Jan Huwald // Impressum