Skip to content

Commit fbf08ec

Browse files
committed
add a warning
1 parent cfcb233 commit fbf08ec

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/zstd.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ ZSTDLIB_API const char* ZSTD_versionString(void);
165165
* @note It is common to use @p srcSize as the @p dstCapacity. In this case you should check to see
166166
* if `ZSTD_isError(ret) && ZSTD_getErrorCode(ret) == ZSTD_error_dstSize_tooSmall` then the
167167
* @p src wasn't compressible.
168+
*
169+
* @warning This is a warning!!!
168170
*/
169171
ZSTDLIB_API size_t ZSTD_compress( void* dst, size_t dstCapacity,
170172
const void* src, size_t srcSize,

0 commit comments

Comments
 (0)