mirror of
https://github.com/Sarsoo/csbindgen.git
synced 2025-01-09 13:27:47 +00:00
Update README.md
This commit is contained in:
parent
042c809a12
commit
50e406b5c8
@ -268,7 +268,7 @@ public static unsafe partial class NativeMethods
|
|||||||
|
|
||||||
Rust to C# is similar workflow as C to C#, use the `input_extern_file` -> setup options -> `generate_csharp_file`.
|
Rust to C# is similar workflow as C to C#, use the `input_extern_file` -> setup options -> `generate_csharp_file`.
|
||||||
|
|
||||||
```csharp
|
```rust
|
||||||
csbindgen::Builder::default()
|
csbindgen::Builder::default()
|
||||||
.input_extern_file("src/lib.rs")
|
.input_extern_file("src/lib.rs")
|
||||||
.csharp_class_name("LibRust")
|
.csharp_class_name("LibRust")
|
||||||
@ -281,4 +281,4 @@ csbindgen::Builder::default()
|
|||||||
|
|
||||||
License
|
License
|
||||||
---
|
---
|
||||||
This library is licensed under the MIT License.
|
This library is licensed under the MIT License.
|
||||||
|
Loading…
Reference in New Issue
Block a user