From 63aa8c52a9539a7cca4c72760298dd79dc5594da Mon Sep 17 00:00:00 2001 From: Magnus Lundborg Date: Wed, 4 Dec 2013 16:17:58 +0100 Subject: Use a char parameter to set if num particles is variable. 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"); -- cgit v0.10.1