diff options
author | Magnus Lundborg <magnus.lundborg@scilifelab.se> | 2012-12-03 16:57:57 (GMT) |
---|---|---|
committer | Magnus Lundborg <magnus.lundborg@scilifelab.se> | 2012-12-03 16:57:57 (GMT) |
commit | fa78b5bab2b7884a294de10fdbfca8a380823d79 (patch) | |
tree | f75345ecb10d6dc74225c247179895f7ae1dac60 /src/tests/tng_io_testing.c | |
parent | 2742db93246135f910c74255dbd935bcf8438650 (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.c | 6 |
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; |