view libpurple/plugins/mono/api/Signal.cs @ 25278:7bc52fed6fdb

Remove a handful of string utility functions from perl, they are generally better handled by perl's built-in functions and at least two of them are reported to crash currently. References #6562
author Etan Reisner <pidgin@unreliablesource.net>
date Wed, 07 Jan 2009 03:31:23 +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);
		}
	}
}