mirror of
https://github.com/Sarsoo/csbindgen.git
synced 2025-01-09 21:37:46 +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")
|
||||||
|
Loading…
Reference in New Issue
Block a user