Mercurial > pidgin
view libpurple/plugins/mono/api/Signal.cs @ 29344:10eaca0bf01a
propagate from branch 'im.pidgin.pidgin' (head 8f0a3e68547fbc66188357edbf6694bd8dd2d557)
to branch 'im.pidgin.pidgin.next.minor' (head 63bbded7257d603ff4c002350caa652f85d2ff9e)
| author | John Bailey <rekkanoryo@rekkanoryo.org> |
|---|---|
| date | Fri, 25 Dec 2009 22:08:46 +0000 |
| parents | 93bfbda79bf6 |
| children |
line wrap: on
line source
using System; using System.Runtime.CompilerServices; namespace Purple { public class Signal { [MethodImplAttribute(MethodImplOptions.InternalCall)] extern private static int _connect(IntPtr handle, object plugin, string signal, object evnt); public delegate void Handler(object[] args); public static int connect(IntPtr handle, object plugin, string signal, object evnt) { return _connect(handle, plugin, signal, evnt); } } }
