diff options
| author | Xin LI <delphij@FreeBSD.org> | 2025-12-21 16:14:28 -0800 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2025-12-21 16:14:28 -0800 |
| commit | 762f11d98d5cd57ebbe85c36e9e86a557a91fe4e (patch) | |
| tree | 68a816b0c83838511b1fbdc8cfb83a38154b4265 /src/liblzma/api/lzma/base.h | |
| parent | 12eff5f0d8b7f4cf5c87b697cc5729d6c223e4c0 (diff) | |
Vendor import of xz 5.8.2 (trimmed)vendor/xz/5.8.2vendor/xz
Diffstat (limited to 'src/liblzma/api/lzma/base.h')
| -rw-r--r-- | src/liblzma/api/lzma/base.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/liblzma/api/lzma/base.h b/src/liblzma/api/lzma/base.h index 590e1d22bb0f..00499381426a 100644 --- a/src/liblzma/api/lzma/base.h +++ b/src/liblzma/api/lzma/base.h @@ -450,7 +450,9 @@ typedef struct { * \param opaque lzma_allocator.opaque (see below) * \param ptr Pointer returned by lzma_allocator.alloc(), * or when it is set to NULL, a pointer returned - * by the standard malloc(). + * by the standard malloc(). In addition, NULL + * is a possible value. The function should do + * nothing when ptr == NULL. */ void (LZMA_API_CALL *free)(void *opaque, void *ptr); @@ -561,7 +563,7 @@ typedef struct { * \brief New seek input position for LZMA_SEEK_NEEDED * * When lzma_code() returns LZMA_SEEK_NEEDED, the new input position - * needed by liblzma will be available seek_pos. The value is + * needed by liblzma will be available in seek_pos. The value is * guaranteed to not exceed the file size that was specified when * this lzma_stream was initialized. * |
