b2e3f5cef37266de0c634a390e5fc1de6f3bf3d1
[platform/core/csapi/push.git] / Tizen.Messaging.Push / Interop / Interop.Glib.cs
1 /// Copyright 2016 by Samsung Electronics, Inc.,
2 ///
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.
8
9
10 using System;
11 using System.Runtime.InteropServices;
12
13 internal static partial class Interop
14 {
15     internal static partial class Glib
16     {
17         [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
18         internal delegate bool GSourceFunc(IntPtr userData);
19
20         [DllImport(Libraries.Glib, EntryPoint = "g_idle_add", CallingConvention = CallingConvention.Cdecl)]
21         internal static extern uint IdleAdd(GSourceFunc d, IntPtr data);
22     }
23 }