alef 0.25.37

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Auto-generated by alef — DO NOT EDIT
#nullable enable

namespace {{ namespace }} {

using System;
using System.Runtime.InteropServices;

/// <summary>
/// Native P/Invoke declarations for service API.
/// </summary>
internal static partial class NativeMethods {

    /// <summary>
    /// Native callback signature for service handlers.
    /// </summary>
    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
    public delegate IntPtr HandlerCallback(IntPtr ctx, IntPtr requestJson);