From 36faff1313dcb38f36cf2c4ada68f939ceb3b083 Mon Sep 17 00:00:00 2001 From: teach310 Date: Fri, 17 Nov 2023 22:16:43 +0900 Subject: [PATCH] remove cb4u_central_manager_release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 消し漏れ --- .../Runtime/NativeMethods.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Packages/com.teach310.core-bluetooth-for-unity/Runtime/NativeMethods.cs b/Packages/com.teach310.core-bluetooth-for-unity/Runtime/NativeMethods.cs index 89477d5..ad824ad 100644 --- a/Packages/com.teach310.core-bluetooth-for-unity/Runtime/NativeMethods.cs +++ b/Packages/com.teach310.core-bluetooth-for-unity/Runtime/NativeMethods.cs @@ -25,9 +25,6 @@ int identifierSize [DllImport(DLL_NAME, CallingConvention = CallingConvention.Cdecl)] internal static extern SafeNativeCentralManagerHandle cb4u_central_manager_new(IntPtr options); - [DllImport(DLL_NAME, CallingConvention = CallingConvention.Cdecl)] - internal static extern void cb4u_central_manager_release(IntPtr handle); - internal delegate void CB4UCentralManagerDidConnectHandler(IntPtr centralPtr, IntPtr peripheralIdPtr); internal delegate void CB4UCentralManagerDidDisconnectPeripheralHandler(IntPtr centralPtr, IntPtr peripheralIdPtr, int errorCode); internal delegate void CB4UCentralManagerDidFailToConnectHandler(IntPtr centralPtr, IntPtr peripheralIdPtr, int errorCode);