1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

liblzma: Improve lzma_properties_decode() API documentation.

This commit is contained in:
Lasse Collin 2018-05-19 21:23:25 +03:00
parent 2267f5b0d2
commit 76762ae609

View file

@ -341,9 +341,10 @@ extern LZMA_API(lzma_ret) lzma_properties_encode(
* \param filter filter->id must have been set to the correct * \param filter filter->id must have been set to the correct
* Filter ID. filter->options doesn't need to be * Filter ID. filter->options doesn't need to be
* initialized (it's not freed by this function). The * initialized (it's not freed by this function). The
* decoded options will be stored to filter->options. * decoded options will be stored in filter->options;
* filter->options is set to NULL if there are no * it's application's responsibility to free it when
* properties or if an error occurs. * appropriate. filter->options is set to NULL if
* there are no properties or if an error occurs.
* \param allocator Custom memory allocator used to allocate the * \param allocator Custom memory allocator used to allocate the
* options. Set to NULL to use the default malloc(), * options. Set to NULL to use the default malloc(),
* and in case of an error, also free(). * and in case of an error, also free().