Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc authored Feb 28, 2023
1 parent 042c809 commit 50e406b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

```csharp
```rust
csbindgen::Builder::default()
.input_extern_file("src/lib.rs")
.csharp_class_name("LibRust")
Expand All @@ -281,4 +281,4 @@ csbindgen::Builder::default()

License
---
This library is licensed under the MIT License.
This library is licensed under the MIT License.

0 comments on commit 50e406b

Please sign in to comment.