diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-12-04 15:17:58 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-12-04 15:17:58 (GMT) |
commit | 63aa8c52a9539a7cca4c72760298dd79dc5594da (patch) | |
tree | 87a65e4dda7b0a65b5125517388fe9349b975205 | |
parent | 26c3065c86a21b63672f844fa1b255596b2c3587 (diff) |
Use a char parameter to set if num particles is variable.
-rw-r--r-- | include/tng_io.h | 2 | ||||
-rw-r--r-- | src/lib/tng_io.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/tng_io.h b/include/tng_io.h index 7ae8967..7b0cb53 100644 --- a/include/tng_io.h +++ b/include/tng_io.h @@ -1179,7 +1179,7 @@ tng_function_status DECLSPECDLLEXPORT tng_num_particles_get */ tng_function_status DECLSPECDLLEXPORT tng_num_particles_variable_get (const tng_trajectory_t tng_data, - tng_variable_n_atoms_flag *variable); + char *variable); /** * @brief Get the number of molecule types (length of tng_data->molecules). diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c index c0b3da9..1f13cd1 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -10565,7 +10565,7 @@ tng_function_status DECLSPECDLLEXPORT tng_num_particles_get tng_function_status DECLSPECDLLEXPORT tng_num_particles_variable_get (const tng_trajectory_t tng_data, - tng_variable_n_atoms_flag *variable) + char *variable) { TNG_ASSERT(tng_data, "TNG library: Trajectory container not properly setup."); TNG_ASSERT(variable, "TNG library: variable must not be a NULL pointer"); |