diff options
author | W. Felix Handte <w@felixhandte.com> | 2018-05-22 01:36:49 (GMT) |
---|---|---|
committer | W. Felix Handte <w@felixhandte.com> | 2018-05-22 02:29:20 (GMT) |
commit | c746a27e91784adf9957600206a5d35dcdad04b1 (patch) | |
tree | f279069a03a2cb9720f1c30142445203e86011d6 /lib/lz4.c | |
parent | 843dfd239a7f23cf3f8fd38cd961282a8fcade10 (diff) | |
download | lz4-c746a27e91784adf9957600206a5d35dcdad04b1.zip lz4-c746a27e91784adf9957600206a5d35dcdad04b1.tar.gz lz4-c746a27e91784adf9957600206a5d35dcdad04b1.tar.bz2 |
Test Linking C-Compiled Library and C++-Compiled Tests
Diffstat (limited to 'lib/lz4.c')
-rw-r--r-- | lib/lz4.c | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -496,6 +496,21 @@ int LZ4_compressBound(int isize) { return LZ4_COMPRESSBOUND(isize); } int LZ4_sizeofState() { return LZ4_STREAMSIZE; } +/*-************************************ +* Internal Definitions used in Tests +**************************************/ +#if defined (__cplusplus) +extern "C" { +#endif + +int LZ4_compress_forceExtDict (LZ4_stream_t* LZ4_stream, const char* source, char* dest, int inputSize); + +int LZ4_decompress_safe_extDict(const char* in, char* out, int inSize, int outSize, const void* dict, size_t dictSize); + +#if defined (__cplusplus) +} +#endif + /*-****************************** * Compression functions ********************************/ |