mirror of
https://github.com/Sarsoo/csbindgen.git
synced 2024-12-23 06:56:27 +00:00
Update README.md
This commit is contained in:
parent
c5182aefb1
commit
09f3bd07b8
@ -81,7 +81,7 @@ cc::Build::new().file("lz4.c").compile("lz4");
|
|||||||
csbindgen::Builder::default()
|
csbindgen::Builder::default()
|
||||||
.input_bindgen_file("lz4.rs") // read from bindgen generated code
|
.input_bindgen_file("lz4.rs") // read from bindgen generated code
|
||||||
.rust_file_header("use super::lz4;")
|
.rust_file_header("use super::lz4;")
|
||||||
.csharp_entry_point_prefix("cs_bindgen")
|
.csharp_entry_point_prefix("csbindgen_")
|
||||||
.csharp_dll_name("liblz4")
|
.csharp_dll_name("liblz4")
|
||||||
.generate_to_file("lz4_ffi.rs", "../dotnet/NativeMethods.lz4.g.cs")
|
.generate_to_file("lz4_ffi.rs", "../dotnet/NativeMethods.lz4.g.cs")
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
Loading…
Reference in New Issue
Block a user