Skip to content

Commit da94550

Browse files
Update cargo.toml version to 1.9.0
1 parent 516e63f commit da94550

2 files changed

Lines changed: 2 additions & 32 deletions

File tree

csbindgen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "csbindgen"
3-
version = "1.8.3"
3+
version = "1.9.0"
44
edition = "2021"
55
authors = [
66
"Yoshifumi Kawai <ils@neue.cc>",

dotnet-sandbox/NativeMethods.cs

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,10 @@ internal static unsafe partial class NativeMethods
3333
[DllImport(__DllName, EntryPoint = "comment_one", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
3434
public static extern void comment_one(EnumFlags _flags);
3535

36-
/// <summary>Multiline Comments # GOTO Here Foo Bar TO ZZZ</summary>
37-
[DllImport(__DllName, EntryPoint = "long_jpn_comment", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
38-
public static extern void long_jpn_comment();
39-
40-
[DllImport(__DllName, EntryPoint = "use_vec3", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
41-
public static extern void use_vec3(my_int_vec3 _v3);
42-
4336
[DllImport(__DllName, EntryPoint = "other_2", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
4437
public static extern void other_2(NfcCard _hoge);
4538

46-
[DllImport(__DllName, EntryPoint = "@event", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
39+
[DllImport(__DllName, EntryPoint = "event", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
4740
public static extern void @event(@event @event);
4841

4942
[DllImport(__DllName, EntryPoint = "test_func_issue_39", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
@@ -94,9 +87,6 @@ internal static unsafe partial class NativeMethods
9487
[DllImport(__DllName, EntryPoint = "rust_to_csharp", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
9588
public static extern delegate* unmanaged[Cdecl]<int, int, int> rust_to_csharp();
9689

97-
[DllImport(__DllName, EntryPoint = "sum", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
98-
public static extern int sum(int x, int y);
99-
10090
[DllImport(__DllName, EntryPoint = "cbt", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
10191
public static extern void cbt(CallbackTable _cb);
10292

@@ -109,9 +99,6 @@ internal static unsafe partial class NativeMethods
10999
[DllImport(__DllName, EntryPoint = "callback_test2", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
110100
public static extern delegate* unmanaged[Cdecl]<int, int> callback_test2();
111101

112-
[DllImport(__DllName, EntryPoint = "callback", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
113-
public static extern int callback(int a);
114-
115102
[DllImport(__DllName, EntryPoint = "enum_test", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
116103
public static extern int enum_test(IntEnumTest i);
117104

@@ -176,15 +163,6 @@ internal static unsafe partial class NativeMethods
176163
[DllImport(__DllName, EntryPoint = "call_bindgen_lz4", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
177164
public static extern void call_bindgen_lz4();
178165

179-
[DllImport(__DllName, EntryPoint = "reference_type", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
180-
public static extern void reference_type(int* _a, int** _b, void/* byte[] */* _c, Context* _d);
181-
182-
[DllImport(__DllName, EntryPoint = "reference_hogemoge1", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
183-
public static extern void reference_hogemoge1(int* _a, int** _b);
184-
185-
[DllImport(__DllName, EntryPoint = "reference_hogemoge2", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
186-
public static extern void reference_hogemoge2(int* _a, int** _b);
187-
188166
[DllImport(__DllName, EntryPoint = "create_counter_context2", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
189167
public static extern CounterContext2* create_counter_context2();
190168

@@ -215,14 +193,6 @@ internal unsafe partial struct JPH_ContactManifold
215193
public fixed byte png_name[5];
216194
}
217195

218-
[StructLayout(LayoutKind.Sequential)]
219-
internal unsafe partial struct my_int_vec3
220-
{
221-
public int Item1;
222-
public int Item2;
223-
public int Item3;
224-
}
225-
226196
[StructLayout(LayoutKind.Sequential)]
227197
internal unsafe partial struct NfcCard
228198
{

0 commit comments

Comments
 (0)