summaryrefslogtreecommitdiffstats
path: root/lib/lz4frame.h
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2020-08-11 21:03:20 (GMT)
committerYann Collet <cyan@fb.com>2020-08-11 21:07:51 (GMT)
commit3dd34df75185f132238451ef4fdb68b83f6fb91a (patch)
treef3687e83c61c0c5bee9b8a505bef19f58d20596b /lib/lz4frame.h
parentf328e329b3cec38ec8316d454279b79d19c36fdd (diff)
downloadlz4-3dd34df75185f132238451ef4fdb68b83f6fb91a.zip
lz4-3dd34df75185f132238451ef4fdb68b83f6fb91a.tar.gz
lz4-3dd34df75185f132238451ef4fdb68b83f6fb91a.tar.bz2
added target lz4-wlib
variant of lz4 linking to liblz4 dynamic library requires the dynamic library to expose static-only symbols (experimental API) Example for #888
Diffstat (limited to 'lib/lz4frame.h')
-rw-r--r--lib/lz4frame.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/lz4frame.h b/lib/lz4frame.h
index 77d682b..c669aec 100644
--- a/lib/lz4frame.h
+++ b/lib/lz4frame.h
@@ -381,7 +381,7 @@ LZ4FLIB_API LZ4F_errorCode_t LZ4F_freeDecompressionContext(LZ4F_dctx* dctx);
* note : Frame header size is variable, but is guaranteed to be
* >= LZ4F_HEADER_SIZE_MIN bytes, and <= LZ4F_HEADER_SIZE_MAX bytes.
*/
-size_t LZ4F_headerSize(const void* src, size_t srcSize);
+LZ4FLIB_API size_t LZ4F_headerSize(const void* src, size_t srcSize);
/*! LZ4F_getFrameInfo() :
* This function extracts frame parameters (max blockSize, dictID, etc.).
@@ -498,9 +498,9 @@ extern "C" {
* Use at your own risk.
*/
#ifdef LZ4F_PUBLISH_STATIC_FUNCTIONS
-#define LZ4FLIB_STATIC_API LZ4FLIB_API
+# define LZ4FLIB_STATIC_API LZ4FLIB_API
#else
-#define LZ4FLIB_STATIC_API
+# define LZ4FLIB_STATIC_API
#endif