diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2014-09-19 12:48:30 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2014-09-24 08:53:36 (GMT) |
commit | 6f07cfeccfd9ee54b4072ace6c6df00a612e6fd6 (patch) | |
tree | a316a10862b3295d22f0a44b97dc48c3f62659b8 | |
parent | 851a86a9c673ace49928a67f9ae61dbf29296b35 (diff) |
Added notification that two functions are obsolete.
Change-Id: I050687ad061e03fe43904e549d5f7968d04893e7
-rw-r--r-- | include/tng/tng_io.h | 6 |
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 |