Skip to content

Commit

Permalink
Fix argument names and make dictionary an immutable ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
REDxEYE committed Apr 30, 2024
1 parent df1d7df commit 64a55b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lz4-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,9 @@ extern "C" {
// int LZ4_setStreamDecode (LZ4_streamDecode_t* LZ4_streamDecode,
// const char* dictionary,
// int dictSize)
pub fn LZ4_setStreamDecode(LZ4_streamDecode: *mut LZ4StreamDecode,
dictionary: *mut c_char,
dictSize: c_int)
pub fn LZ4_setStreamDecode(LZ4_stream: *mut LZ4StreamDecode,
dictionary: *const u8,
dict_size: c_int)
-> c_int;

// LZ4_streamDecode_t* LZ4_createStreamDecode(void)
Expand Down

0 comments on commit 64a55b5

Please sign in to comment.