Skip to content

Commit f557acf

Browse files
authored
fix: update csbindgen to 1.19.3 (#127)
* update csbindgen to 1.19.3 * remove type alias hack * re-generate code
1 parent 3ccfe2b commit f557acf

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindings/csharp/csharp_code/EthKZG.bindings/native_methods.g.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using C = uint;
21
// <auto-generated>
32
// This code is generated by csbindgen.
43
// DON'T CHANGE THIS DIRECTLY.
@@ -176,7 +175,7 @@ internal unsafe partial struct CResult
176175
}
177176

178177

179-
internal enum CResultStatus : C
178+
internal enum CResultStatus : uint
180179
{
181180
Ok,
182181
Err,

bindings/csharp/rust_code/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ repository = { workspace = true }
1010
[dependencies]
1111

1212
[build-dependencies]
13-
csbindgen = "1.9.2"
13+
csbindgen = "1.9.3"
1414
toml = "0.5"

bindings/csharp/rust_code/build.rs

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ fn main() {
2424
.csharp_dll_name(package_name_of_c_crate)
2525
.csharp_class_name("NativeMethods")
2626
.csharp_use_nint_types(false)
27-
.csharp_file_header("using C = uint;")
2827
.generate_csharp_file(path_to_output_file)
2928
.unwrap();
3029
}

0 commit comments

Comments
 (0)