Skip to content

Commit

Permalink
Add magic_load_buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Stern committed Oct 11, 2020
1 parent 0ffcdd4 commit 56cc7d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ extern "C" {
pub fn magic_compile(cookie: *const Magic, filename: *const c_char) -> c_int;
pub fn magic_list(cookie: *const Magic, filename: *const c_char) -> c_int;
pub fn magic_load(cookie: *const Magic, filename: *const c_char) -> c_int;
pub fn magic_load_buffers(cookie: *const Magic, buffers: *const *const u8, sizes: *const size_t, nbuffers: size_t) -> c_int;
}

0 comments on commit 56cc7d3

Please sign in to comment.