24 lines
752 B
C#
24 lines
752 B
C#
// Copyright (c) 2021 homuler
|
|
//
|
|
// Use of this source code is governed by an MIT-style
|
|
// license that can be found in the LICENSE file or at
|
|
// https://opensource.org/licenses/MIT.
|
|
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Mediapipe
|
|
{
|
|
internal static partial class UnsafeNativeMethods
|
|
{
|
|
[DllImport(MediaPipeLibrary, ExactSpelling = true)]
|
|
public static extern MpReturnCode absl_Status__i_PKc(int code, string message, out IntPtr status);
|
|
|
|
[DllImport(MediaPipeLibrary, ExactSpelling = true)]
|
|
public static extern void absl_Status__delete(IntPtr status);
|
|
|
|
[DllImport(MediaPipeLibrary, ExactSpelling = true)]
|
|
public static extern MpReturnCode absl_Status__ToString(IntPtr status, out IntPtr str);
|
|
}
|
|
}
|