summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2014-09-19 12:48:30 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2014-09-24 08:53:36 (GMT)
commit6f07cfeccfd9ee54b4072ace6c6df00a612e6fd6 (patch)
treea316a10862b3295d22f0a44b97dc48c3f62659b8
parent851a86a9c673ace49928a67f9ae61dbf29296b35 (diff)
Added notification that two functions are obsolete.
Change-Id: I050687ad061e03fe43904e549d5f7968d04893e7
-rw-r--r--include/tng/tng_io.h6
1 files changed, 6 insertions, 0 deletions
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
contact: Jan Huwald // Impressum