Add LZ4LIB_API
authorKouhei Sutou <kou@clear-code.com>
Thu, 22 Sep 2016 15:21:04 +0000 (00:21 +0900)
committerKouhei Sutou <kou@clear-code.com>
Thu, 22 Sep 2016 15:39:45 +0000 (00:39 +0900)
commit012c66536cdb93d9bcfa565fadaaf2a281c489b9
treeae52c04f8f65798b3bcb13c56cd7f3628fe2cbd8
parent3b9439ccd043fe5704af6528f3b3155cf6f8f0c4
Add LZ4LIB_API

It's based on Zstandard's ZSTDLIB_API.

See also: https://github.com/Cyan4973/lz4/issues/216#issuecomment-226245432

Deprecated functions aren't LZ4LIB_API targets. Because we don't need to
export deprecated functions from now.

There are same LZ4LIB_API definitions in each header files instead of
including a common header file because LZ4_DEPRECATED is defined so.
lib/Makefile
lib/lz4.h
lib/lz4frame.h
lib/lz4hc.h
programs/Makefile
visual/VS2010/datagen/datagen.vcxproj
visual/VS2010/frametest/frametest.vcxproj
visual/VS2010/fullbench/fullbench.vcxproj
visual/VS2010/fuzzer/fuzzer.vcxproj
visual/VS2010/liblz4/liblz4.vcxproj
visual/VS2010/lz4/lz4.vcxproj