1 /// Copyright 2016 by Samsung Electronics, Inc.,
3 /// This software is the confidential and proprietary information
4 /// of Samsung Electronics, Inc. ("Confidential Information"). You
5 /// shall not disclose such Confidential Information and shall use
6 /// it only in accordance with the terms of the license agreement
7 /// you entered into with Samsung.
11 using System.Runtime.InteropServices;
13 internal static partial class Interop
15 internal static partial class Glib
17 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
18 internal delegate bool GSourceFunc(IntPtr userData);
20 [DllImport(Libraries.Glib, EntryPoint = "g_idle_add", CallingConvention = CallingConvention.Cdecl)]
21 internal static extern uint IdleAdd(GSourceFunc d, IntPtr data);