Mercurial > pidgin
view plugins/mono/api/Signal.cs @ 12682:d495909dcdc9
[gaim-migrate @ 15025]
Stop using __FUNCTION__. It's not standardized and does not exist on
Solaris. __func__ is specified in C99, but we try not to require C99.
See
http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Function-Names.html
for details.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 30 Dec 2005 19:33:48 +0000 |
parents | a3302d271199 |
children |
line wrap: on
line source
using System; using System.Runtime.CompilerServices; namespace Gaim { 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); } } }