Skip to content

Commit

Permalink
Merge pull request #43 from REDxEYE/master
Browse files Browse the repository at this point in the history
Add LZ4_setStreamDecode
  • Loading branch information
pmarks committed May 1, 2024
2 parents 418855f + 64a55b5 commit af51180
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lz4-sys/src/lib.rs
Expand Up @@ -369,6 +369,14 @@ extern "C" {
// int LZ4_freeStream(LZ4_stream_t* LZ4_streamPtr)
pub fn LZ4_freeStream(LZ4_stream: *mut LZ4StreamEncode) -> c_int;

// int LZ4_setStreamDecode (LZ4_streamDecode_t* LZ4_streamDecode,
// const char* dictionary,
// int dictSize)
pub fn LZ4_setStreamDecode(LZ4_stream: *mut LZ4StreamDecode,
dictionary: *const u8,
dict_size: c_int)
-> c_int;

// LZ4_streamDecode_t* LZ4_createStreamDecode(void)
pub fn LZ4_createStreamDecode() -> *mut LZ4StreamDecode;

Expand Down

0 comments on commit af51180

Please sign in to comment.