csbindgen/dotnet-sandbox/method_call.cs
2023-02-28 14:49:04 +09:00

22 lines
467 B
C#
Vendored

// <auto-generated>
// This code is generated by csbindgen.
// DON'T CHANGE THIS DIRECTLY.
// </auto-generated>
using System;
using System.Runtime.InteropServices;
namespace CsBindgen
{
public static unsafe partial class LibRust
{
const string __DllName = "csbindgen_tests";
[DllImport(__DllName, EntryPoint = "my_add", CallingConvention = CallingConvention.Cdecl)]
public static extern int my_add(int x, int y);
}
}