From 6f07cfeccfd9ee54b4072ace6c6df00a612e6fd6 Mon Sep 17 00:00:00 2001 From: Magnus Lundborg Date: Fri, 19 Sep 2014 14:48:30 +0200 Subject: Added notification that two functions are obsolete. Change-Id: I050687ad061e03fe43904e549d5f7968d04893e7 diff --git a/include/tng/tng_io.h b/include/tng/tng_io.h index f3b173c..367aa29 100644 --- a/include/tng/tng_io.h +++ b/include/tng/tng_io.h @@ -2888,6 +2888,9 @@ tng_function_status DECLSPECDLLEXPORT tng_frame_particle_data_write * @param n_frames is the number of frames in the data array. * @param n_values_per_frame is the number of values per frame in the data array. * @param type is the data type of the data in the array (e.g. int/float/char). + * @details This function should not be used. The data_values union is obsolete. + * This function also causes memory leaks, but its signature cannot be changed + * without disturbing the API. * @return TNG_SUCCESS (0) if successful. */ tng_function_status DECLSPECDLLEXPORT tng_data_values_free @@ -2905,6 +2908,9 @@ tng_function_status DECLSPECDLLEXPORT tng_data_values_free * @param n_particles is the number of particles in the data array. * @param n_values_per_frame is the number of values per frame in the data array. * @param type is the data type of the data in the array (e.g. int/float/char). + * @details This function should not be used. The data_values union is obsolete. + * This function also causes memory leaks, but its signature cannot be changed + * without disturbing the API. * @return TNG_SUCCESS (0) if successful. */ tng_function_status DECLSPECDLLEXPORT tng_particle_data_values_free -- cgit v0.10.1