diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-12-04 08:21:47 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-12-04 08:21:47 (GMT) |
commit | 9b63e94f825cee3d2dc4ca0b8156102cc84bb4c5 (patch) | |
tree | 31dc4e337fac557b839823a971b304ff4ea24ab6 /include | |
parent | e84a5f558ad79b3c6e51bbfe9c56e304f0684f06 (diff) |
Do not require pointer to NULL.
Diffstat (limited to 'include')
-rw-r--r-- | include/tng_io.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/tng_io.h b/include/tng_io.h index 7be9c12..7ae8967 100644 --- a/include/tng_io.h +++ b/include/tng_io.h @@ -4668,7 +4668,8 @@ tng_function_status DECLSPECDLLEXPORT tng_util_frame_current_compression_get * data for next_frame. * @param data_block_ids_in_next_frame is set to an array (of length * n_data_blocks_in_next_frame) that lists the data block IDs with data for - * next_frame. The array is created by this function allocated. + * next_frame. It must be pointing at NULL or previously allocated memory. + * Memory for the array is allocated by this function. * The memory must be freed by the client afterwards or * there will be a memory leak. * @pre \code tng_data != 0 \endcode The trajectory container (tng_data) @@ -4677,7 +4678,7 @@ tng_function_status DECLSPECDLLEXPORT tng_util_frame_current_compression_get * be NULL. * @pre \code n_data_blocks_in_next_frame != 0 \endcode The pointer to * n_data_blocks_in_next_frame must not be NULL. - * @pre \code *data_block_ids_in_next_frame == 0 \endcode The pointer to the + * @pre \code *data_block_ids_in_next_frame != 0 \endcode The pointer to the * list of data block IDs must not be NULL. * @pre \code n_requested_data_block_ids == 0 || requested_data_block_ids != 0 \endcode * If the number of requested data blocks != 0 then the array of data block IDs must not be NULL. |