Update cargo.toml version to 1.7.0

This commit is contained in:
github-actions[bot] 2023-04-17 11:32:52 +00:00
parent af9c0455c7
commit 2a7175daf7
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "csbindgen" name = "csbindgen"
version = "1.6.0" version = "1.7.0"
edition = "2021" edition = "2021"
authors = [ authors = [
"Yoshifumi Kawai <ils@neue.cc>", "Yoshifumi Kawai <ils@neue.cc>",

View File

@ -91,13 +91,13 @@ namespace CsBindgen
public static extern int my_add(int x, int y); public static extern int my_add(int x, int y);
[DllImport(__DllName, EntryPoint = "create_counter_context", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] [DllImport(__DllName, EntryPoint = "create_counter_context", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern counter_context* create_counter_context(); public static extern CounterContext* create_counter_context();
[DllImport(__DllName, EntryPoint = "counter_context_insert", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] [DllImport(__DllName, EntryPoint = "counter_context_insert", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void counter_context_insert(counter_context* context, int value); public static extern void counter_context_insert(CounterContext* context, int value);
[DllImport(__DllName, EntryPoint = "destroy_counter_context", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] [DllImport(__DllName, EntryPoint = "destroy_counter_context", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void destroy_counter_context(counter_context* context); public static extern void destroy_counter_context(CounterContext* context);
[DllImport(__DllName, EntryPoint = "pass_vector3", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] [DllImport(__DllName, EntryPoint = "pass_vector3", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void pass_vector3(MyVector3 v3); public static extern void pass_vector3(MyVector3 v3);
@ -187,7 +187,7 @@ namespace CsBindgen
} }
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
internal unsafe partial struct counter_context internal unsafe partial struct CounterContext
{ {
} }