From 325569cba67c4079e604be17cd434ad3adcf80d8 Mon Sep 17 00:00:00 2001 From: Magnus Lundborg Date: Mon, 2 Dec 2013 17:39:51 +0100 Subject: More fixes to molecule getters. diff --git a/include/tng_io.h b/include/tng_io.h index 6c4ee6d..c713fbd 100644 --- a/include/tng_io.h +++ b/include/tng_io.h @@ -3195,7 +3195,7 @@ tng_function_status DECLSPECDLLEXPORT tng_util_trajectory_molecules_get (tng_trajectory_t tng_data, int64_t *n_mols, int64_t **molecule_cnt_list, - tng_molecule_t **mols); + tng_molecule_t *mols); /* * @brief High-level function for adding a molecule to the mol system. diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c index ac8a7f1..5a6386d 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -15712,7 +15712,7 @@ tng_function_status DECLSPECDLLEXPORT tng_util_trajectory_molecules_get (tng_trajectory_t tng_data, int64_t *n_mols, int64_t **molecule_cnt_list, - tng_molecule_t **mols) + tng_molecule_t *mols) { tng_trajectory_frame_set_t frame_set; @@ -15731,7 +15731,7 @@ tng_function_status DECLSPECDLLEXPORT tng_util_trajectory_molecules_get *molecule_cnt_list = tng_data->molecule_cnt_list; } - *mols = &tng_data->molecules; + *mols = tng_data->molecules; return(TNG_SUCCESS); } -- cgit v0.10.1