Mercurial > pidgin
view libpurple/plugins/mono/api/Event.cs @ 22120:a6715d41e062
Get rid of an unnecessary allocation.
| author | John Bailey <rekkanoryo@rekkanoryo.org> |
|---|---|
| date | Wed, 16 Jan 2008 06:29:52 +0000 |
| parents | 93bfbda79bf6 |
| children |
line wrap: on
line source
using System; namespace Purple { public class Event { private IntPtr handle; private string signal; public Event(IntPtr h, string s) { handle = h; signal = s; } public void connect(object plugin, Signal.Handler handler) { Signal.connect(handle, plugin, signal, handler); } } }
